tipc: add missing attribute validation for MTU property
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:23 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 06:17:45 +0000 (07:17 +0100)
commit4c16ef8ee16ced7585b1ec3fc8df35cd4c3b385c
treed9ef9938efeb94a9256663169b8087e1b5b687e5
parent6049f6122a51cf5a96598f26727c413bee0635da
tipc: add missing attribute validation for MTU property

[ Upstream commit 213320a67962ff6e7b83b704d55cbebc341426db ]

Add missing attribute validation for TIPC_NLA_PROP_MTU
to the netlink policy.

Fixes: 901271e0403a ("tipc: implement configuration of UDP media MTU")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/tipc/netlink.c