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:33:12 +0000 (11:33 +0200)
commited2ba25f6d509431103ea3916f6db34595d62406
tree451e2d39ca2ce8ae6541d430a92c56196376a1ae
parent6da813d79cfaa8dbc545e194484185b6b5639c92
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