]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETPOLL]: deadlock bugfix
authorJeff Moyer <jmoyer@redhat.com>
Fri, 12 Aug 2005 02:23:50 +0000 (19:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Aug 2005 02:23:50 +0000 (19:23 -0700)
commita636e1357911afdea7c8344ee65f78d36caf3c16
tree644495567b6a66d29116e0831a96198d82d788e9
parent11513128bb66b0b09d5d0df069b58afdb01752a2
[NETPOLL]: deadlock bugfix

This fixes an obvious deadlock in the netpoll code.  netpoll_rx takes the
npinfo->rx_lock.  netpoll_rx is also the only caller of arp_reply (through
__netpoll_rx).  As such, it is not necessary to take this lock.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c