[RTNL]: Add missing link netlink attribute policy definitions

2008-02-19 Thread Thomas Graf
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 <[EMAIL PROTECTED]> Index: net-2.6.26/net/core/rtne

Re: [RTNL]: Add missing link netlink attribute policy definitions

2008-02-19 Thread David Miller
From: Thomas Graf <[EMAIL PROTECTED]> Date: Wed, 20 Feb 2008 00:46:06 +0100 > 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