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
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