OSDN Git Service

tipc: add policy for TIPC_NLA_NET_ADDR
authorEric Dumazet <edumazet@google.com>
Mon, 16 Apr 2018 15:29:42 +0000 (08:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 09:32:01 +0000 (11:32 +0200)
commit0b6693b49e4d36846ab0d638ff062920d0ec10e7
tree4ce4a8f036bdbe71ab980940e962bfec6c7830b1
parentb2a5207f8c45359d2404562e31fbca2b2fee6c56
tipc: add policy for TIPC_NLA_NET_ADDR

[ Upstream commit ec518f21cb1a1b1f8a516499ea05c60299e04963 ]

Before syzbot/KMSAN bites, add the missing policy for TIPC_NLA_NET_ADDR

Fixes: 27c21416727a ("tipc: add net set to new netlink api")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jon Maloy <jon.maloy@ericsson.com>
Cc: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/tipc/netlink.c