From: Greg Rose Date: Sat, 8 Oct 2011 03:05:24 +0000 (+0000) Subject: if_link: Add additional parameter to IFLA_VF_INFO for spoof checking X-Git-Tag: v3.2-rc1~129^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f8444a3fa617076f8da51a3e8ecce01a5d7f738;p=pandora-kernel.git if_link: Add additional parameter to IFLA_VF_INFO for spoof checking Add configuration setting for drivers to turn spoof checking on or off for discrete VFs. v2 - Fix indentation problem, wrap the ifla_vf_info structure in #ifdef __KERNEL__ to prevent user space from accessing and change function paramater for the spoof check setting netdev op from u8 to bool. v3 - Preset spoof check setting to -1 so that user space tools such as ip can detect that the driver didn't report a spoofcheck setting. Prevents incorrect display of spoof check settings for drivers that don't report it. Signed-off-by: Greg Rose Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed