tipc: add missing attribute validation for MTU property
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:23 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 21:28:49 +0000 (13:28 -0800)
commit213320a67962ff6e7b83b704d55cbebc341426db
treeb38829b8cdca2f042085eb6091b0bb0d3ae53495
parent669fcd7795900cd1880237cbbb57a7db66cb9ac8
tipc: add missing attribute validation for MTU property

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>
net/tipc/netlink.c