]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: force unlock on timeout
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 8 Apr 2011 01:23:59 +0000 (01:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 15 May 2011 00:57:01 +0000 (17:57 -0700)
commitfcaa6ec92da0d6eca671abb854dd3363d61ee9fa
tree6afdbc235bc8314473de415c2a56760b69f3e769
parent362203f49dc447e6017700d2ca51f181be1c842b
ixgbe: force unlock on timeout

The semaphore can be in locked state upon driver load, particularly
on 82598 if a machine is rebooted due to panic and the semaphore was
acquired just prior to the panic.

This patch unlocks the semaphore if it times out.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_common.c