]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0ef8f5dc60092351e78c106c4e9d0e214a90b9fb
tree8cf18502d8934112930a8cb2ba89de28b9ab394d
parentd21eb5814b1388a689cb1bad7eca24e561e3f5d2
[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