diff options
author | Stephen Hemminger <shemminger@linux.foundation.org> | 2007-06-27 03:39:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-06-27 03:39:42 -0400 |
commit | 0db3dc73f7a3a73b0dc725b6a991253f5652c905 (patch) | |
tree | 55d78b37c8fd13ba0f56e3419d4dc3f57856e781 /net/ipx | |
parent | 48d8d7ee5dd17c64833e0343ab4ae8ef01cc2648 (diff) |
[NETPOLL]: tx lock deadlock fix
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
problems than it causes already. So change the code to drop lock
before calling poll handler.
Signed-off-by: Stephen Hemminger <shemminger@linux.foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions