]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 1 Mar 2012 07:24:00 +0000 (23:24 -0800)
commit22de3a26bfe617d61721390e4bed3a24f7c21938
tree7a53dac6d3dd31ce76a98abfd4408390c0754b10
parentd625d75dbd8aa6aa747aa3d2d7ea78333700db76
rtnetlink: Fix VF IFLA policy

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.

CC: stable@vger.kernel.org
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>
net/core/rtnetlink.c