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:19:04 +0000 (07:19 +0100)
commite6b521aa8a4792bc622a19a4fe5d54eda6282b9a
tree0d0c736e6fb60e12b091b573acd14ca671742607
parent0c3b59e7f0867f0153a95e0a6429aeb2dcde8fda
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