From: Jing Huang Date: Wed, 4 Apr 2012 05:43:18 +0000 (+0000) Subject: bna: tx rx cleanup fix X-Git-Tag: v3.5-rc1~109^2~600 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b54b1451853593739816a392485c4e2bee7dda;p=pandora-kernel.git bna: tx rx cleanup fix This patch removes busy wait in tx/rx cleanup. bnad_cb_tx_cleanup() and bnad_cb_rx_cleanup() functions are called from irq context, and currently they do busy wait for the in-flight transmit or the currently executing napi polling routine to complete. To fix the issue, we create a workqueue to defer tx & rx cleanup processing, an in the tx rx cleanup handler, we will wait respective in flight processing to complete, before freeing the buffers. Signed-off-by: Jing Huang Signed-off-by: David S. Miller --- Reading git-diff-tree failed