From: Rajesh K Borundia Date: Thu, 17 Jun 2010 02:56:41 +0000 (+0000) Subject: qlcnic: fix race in tx stop queue X-Git-Tag: v2.6.36-rc1~571^2~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef71ff833acfd3795c3af1bb800ac186561508ef;p=pandora-kernel.git qlcnic: fix race in tx stop queue There is a 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 K Borundia Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- Reading git-diff-tree failed