]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix bogus error message
authorGreg Rose <gregory.v.rose@intel.com>
Sat, 21 Apr 2012 00:54:28 +0000 (00:54 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 10 May 2012 05:40:29 +0000 (22:40 -0700)
commit0f475705ebcbec2af5e00f400e936b2e12896620
treed9e2f00819917b035cda3a68513a8069182340b7
parentc6b2b26e15f5fba6cea2498da0ded8cb8ad3cbb4
ixgbe: Fix bogus error message

If the VF sends a MACVLAN request with index of zero then it is not
actually trying to add a filter.  Check the index value and only
indicate that operation is not allowed when the VF is actually trying
to add a filter.

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c