]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtnetlink: Fix VF IFLA policy
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 8 Feb 2012 00:45:00 +0000 (00:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:52:36 +0000 (09:52 -0700)
commit2e4d3c51483d1272acb34db75695423a7e2f8163
tree681e444275fb4d05be589122637f3676b9ca72e5
parent0abe0c69f3f07313c6f9eaa60b2a760a9a5c94f5
rtnetlink: Fix VF IFLA policy

commit 48752f6513012a1b078da08b145d5c40a644f058 upstream.

Add VF spoof check to IFLA policy.  The original patch I submitted to
add the spoof checking feature to rtnl failed to add the proper policy
rule that identifies the data type and len.  This patch corrects that
oversight.  No bugs have been reported against this but it may cause
some problem for the netlink message parsing that uses the policy
table.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/rtnetlink.c