]> git.hungrycats.org Git - linux/commit
[PATCH] netpoll: fix up trapped logic
authorJeff Moyer <jmoyer@redhat.com>
Tue, 31 Aug 2004 03:38:32 +0000 (20:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 31 Aug 2004 03:38:32 +0000 (20:38 -0700)
commit26fec91d9ab2c5ac12be1d1b1a8a0ab64fd707d4
tree8b3dd8945f51b2030dbac1233b712163bd5f4a99
parent5b9c63bc691c860d3116478f73bece0ae2fbf0d1
[PATCH] netpoll: fix up trapped logic

This patch contains the updates necessary to fix the hangs in netconsole.
This includes the changing of trapped to an atomic_t, and the addition of a
netpoll_poll_lock.  It also turns dev->netpoll_rx into a bitfield which is
used to keep from running the networking code from the netpoll_poll call path.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/core/netpoll.c