net/ixgbe/base: fix race condition between ports
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:26 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:53 +0000 (16:17 +0200)
commit1062ba821b64d420b077357d0297c7e8860f4b6a
tree13a877129b5333386ffbc92baba9210e6387c7fe
parent6e42840a4d853d3dda0082503353d1d92af84614
net/ixgbe/base: fix race condition between ports

This patch fixes a possible race issue between ports, when issuing host
interface commands, by acquiring/releasing the management host interface
semaphore in ixgbe_host_interface_command.

Fixes: 36f43e8679ae ("ixgbe/base: refactor manageability block communication")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c