diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2010-10-18 06:03:41 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 18:22:51 +0400 |
commit | 7a9905e64272c8021a8cfaf6015dd0fb8eeeb378 (patch) | |
tree | 085ccb214fcc14dd2589516bba768a7c23fcef0a /lib/prio_tree.c | |
parent | 3666e0b04f092f9d9da8a6d6a3820de6c870407c (diff) | |
download | linux-7a9905e64272c8021a8cfaf6015dd0fb8eeeb378.tar.xz |
netxen: fix race in tx stop queue
There is race between netif_stop_queue and netif_stopped_queue
check.So check once again if buffers are available to avoid race.
With above logic we can also get rid of tx lock in process_cmd_ring.
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/prio_tree.c')
0 files changed, 0 insertions, 0 deletions