diff options
author | Scott Feldman <scofeldm@cisco.com> | 2009-12-23 14:27:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-24 06:03:39 +0100 |
commit | b3d18d191bb805f3effdfc083c4ce79789470b46 (patch) | |
tree | 034a2d4cfda07b9f843942bc33a3e43ea2572489 /drivers/net/enic/enic.h | |
parent | iwmc3200top: simplify imwct_tx (diff) | |
download | linux-b3d18d191bb805f3effdfc083c4ce79789470b46.tar.xz linux-b3d18d191bb805f3effdfc083c4ce79789470b46.zip |
enic: Bug fix: use safe queue shutdown in dev->stop
Fix dev->stop shutdown bug where driver was stopping xmit queue and then
disabling intrs. Fix is to disable intrs first and then stop the xmit
queue, otherwise an interrupt could cause the queue to be rewoken. Also,
no need to explicitly do queue servicing because queues are cleaned and
reset back to initial state at end of dev->stop. Servicing queues also
had the side-effect of also rewakening the xmit queue, which is not what
we want.
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic.h')
-rw-r--r-- | drivers/net/enic/enic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h index e1c2076228ba..8dd0105a8d9c 100644 --- a/drivers/net/enic/enic.h +++ b/drivers/net/enic/enic.h @@ -34,7 +34,7 @@ #define DRV_NAME "enic" #define DRV_DESCRIPTION "Cisco 10G Ethernet Driver" -#define DRV_VERSION "1.1.0.100" +#define DRV_VERSION "1.1.0.241a" #define DRV_COPYRIGHT "Copyright 2008-2009 Cisco Systems, Inc" #define PFX DRV_NAME ": " |