Backports Archive on
 help / color / Atom feed
From: Arend van Spriel <>
Cc: Arend van Spriel <>
Subject: [PATCH 2/3] backport: add policy field in struct genl_family
Date: Sun, 31 Mar 2019 23:12:41 +0200
Message-ID: <> (raw)
In-Reply-To: <>

Commit 3b0f31f2b8c9 ("genetlink: make policy common to family") added
a common policy to the genl_family. So we need it in backport as well.
As the backport explicitly sets ops policy to NULL no further changes
are needed.

Signed-off-by: Arend van Spriel <>
 backport/backport-include/net/genetlink.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/backport-include/net/genetlink.h b/backport/backport-include/net/genetlink.h
index 84011e7..1b5f4e1 100644
--- a/backport/backport-include/net/genetlink.h
+++ b/backport/backport-include/net/genetlink.h
@@ -115,6 +115,7 @@ struct backport_genl_family {
 	unsigned int		maxattr;
 	bool			netnsok;
 	bool			parallel_ops;
+	const struct nla_policy *policy;
 	int			(*pre_doit)(__genl_const struct genl_ops *ops,
 					    struct sk_buff *skb,
 					    struct genl_info *info);

To unsubscribe from this list: send the line "unsubscribe backports" in

  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-31 21:12 [PATCH 1/3] patches: update select queue patches Arend van Spriel
2019-03-31 21:12 ` Arend van Spriel [this message]
2019-03-31 21:12 ` [PATCH 3/3] backport: rcupdate: add rcu_head_init and rcu_head_after_call_rcu Arend van Spriel

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Backports Archive on

Archives are clonable:
	git clone --mirror backports/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 backports backports/ \
	public-inbox-index backports

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox