Re: [PATCH] netpoll: tx lock deadlock fix

2007-06-27 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 29 May 2007 17:32:21 -0700 > If sky2 device poll routine is called from netpoll_send_skb, it > would deadlock. The netpoll_send_skb held the netif_tx_lock, and the > poll routine could acquire it to clean up skb's. Other drivers > might use sa

[PATCH] netpoll: tx lock deadlock fix

2007-05-29 Thread Stephen Hemminger
If sky2 device poll routine is called from netpoll_send_skb, it would deadlock. The netpoll_send_skb held the netif_tx_lock, and the poll routine could acquire it to clean up skb's. Other drivers might use same locking model. The driver is correct, netpoll should not introduce more locking problem