]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix __ixgbe_notify_dca() bail out code
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 20 Jul 2011 02:27:05 +0000 (02:27 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 4 Aug 2011 12:03:27 +0000 (05:03 -0700)
commit6c62108de75820e528c0c651be7d07b669b087ce
tree80d6aaf32576180b132d585e6d8bed8a6541f5ca
parent9a89987aeb81ee27d185eb9a9fb98fc7a0b60110
ixgbe: fix __ixgbe_notify_dca() bail out code

The way __ixgbe_notify_dca() was currently set up it would not be
possible to add a requester. Both cases of the IXGBE_FLAG_DCA_ENABLED
bit being on and off would lead to the function exiting for a
DCA_PROVIDER_ADD.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c