]> git.hungrycats.org Git - linux/commit
[PATCH] Fix netpoll cleanup on abort without dev
authorMatt Mackall <mpm@selenic.com>
Mon, 23 Aug 2004 06:05:13 +0000 (23:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:05:13 +0000 (23:05 -0700)
commit6e354f5cececd74a72c4f11bc5758cebbc7395d1
treeb4e0af467d4a2bd7f45892ce11d6c5c1b9a77e07
parent579aa5b4517cf0b3b4288567de6dfc7c5df081dd
[PATCH] Fix netpoll cleanup on abort without dev

If netpoll attempts to use a device without polling support, it will oops
when shutting down.  This adds a check that we've actually attached to a
device.

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