Re: [PATCH] stop send queue before resetting gianfar

2009-04-15 Thread David Miller
From: Markus Brunner Date: Wed, 15 Apr 2009 09:51:23 +0200 > After a transmit timed out, the reset task will be called, which will free the > allocated resources(stop_gfar). If gfar_poll will be called before the > resources get allocated again gfar_clean_tx_ring will call > dev_kfree_skb_any(NUL

[PATCH] stop send queue before resetting gianfar

2009-04-15 Thread Markus Brunner
After a transmit timed out, the reset task will be called, which will free the allocated resources(stop_gfar). If gfar_poll will be called before the resources get allocated again gfar_clean_tx_ring will call dev_kfree_skb_any(NULL). This Patch calls netif_stop_queue before calling stop_gfar. Sign