diff options
| author | Ingo Molnar <mingo@kernel.org> | 2020-02-05 08:44:22 +0100 | 
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2020-02-05 08:44:22 +0100 | 
| commit | fdff7c21ea00787e3f70a1a00b40b88eb998c6ad (patch) | |
| tree | 03016a8375e849e2c39dec8a15d660055bb16a8c /net/tipc/netlink.c | |
| parent | f1ec3a517b4352e78dbef6b1e591f43202ecb3fe (diff) | |
| parent | b3a6082223369203d7e7db7e81253ac761377644 (diff) | |
Merge branch 'linus' into perf/urgent, to synchronize with upstream
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/tipc/netlink.c')
| -rw-r--r-- | net/tipc/netlink.c | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c index e53231bd23b4..7c35094c20b8 100644 --- a/net/tipc/netlink.c +++ b/net/tipc/netlink.c @@ -83,6 +83,7 @@ const struct nla_policy tipc_nl_net_policy[TIPC_NLA_NET_MAX + 1] = {  	[TIPC_NLA_NET_ADDR]		= { .type = NLA_U32 },  	[TIPC_NLA_NET_NODEID]		= { .type = NLA_U64 },  	[TIPC_NLA_NET_NODEID_W1]	= { .type = NLA_U64 }, +	[TIPC_NLA_NET_ADDR_LEGACY]	= { .type = NLA_FLAG }  };  const struct nla_policy tipc_nl_link_policy[TIPC_NLA_LINK_MAX + 1] = { @@ -273,6 +274,11 @@ static const struct genl_ops tipc_genl_v2_ops[] = {  		.doit	= tipc_nl_node_flush_key,  	},  #endif +	{ +		.cmd	= TIPC_NL_ADDR_LEGACY_GET, +		.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP, +		.doit	= tipc_nl_net_addr_legacy_get, +	},  };  struct genl_family tipc_genl_family __ro_after_init = {  | 
