]> err.no Git - linux-2.6/commit
[PATCH] uml: free network IRQ correctly
authorJeff Dike <jdike@addtoit.com>
Fri, 6 Jan 2006 08:19:06 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:48 +0000 (08:33 -0800)
commit8d93c700a489eba08514222df414a23852a85d2b
tree95431dbad08c7807840faff3d8bf85dba0c66e13
parent3a331a511a2fe522034f3958eecf58751be434ac
[PATCH] uml: free network IRQ correctly

Free the network IRQ when closing down the network devices at shutdown.
Delete the device from the opened devices list on close.

These prevent an -EBADF when later disabling SIGIO on all extant descriptors
and a complaint from free_irq about freeing the IRQ twice.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/net_kern.c