[RTNL]: Add missing link netlink attribute policy definitions
authorThomas Graf <tgraf@suug.ch>
Wed, 20 Feb 2008 00:12:08 +0000 (16:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2008 00:12:08 +0000 (16:12 -0800)
commit76e87306c2de2a581ec939cf9c97cd18d053f90e
tree8cf18502d8934112930a8cb2ba89de28b9ab394d
parent12aa343add3eced38a44bdb612b35fdf634d918c
[RTNL]: Add missing link netlink attribute policy definitions

IFLA_LINK is no longer a write-only attribute on the kernel side and
must thus be validated. Same goes for the newly introduced
IFLA_LINKINFO.

Fixes undefined behaviour if either of the attributes are not well
formed.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c