From: Rajesh Borundia Date: Mon, 18 Oct 2010 02:03:41 +0000 (+0000) Subject: netxen: fix race in tx stop queue X-Git-Tag: v2.6.37-rc1~147^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a9905e64272c8021a8cfaf6015dd0fb8eeeb378;p=pandora-kernel.git 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 Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- Reading git-diff-tree failed