[PATCH][2.5] Signal handling changes broke 8139too

Roger Luethi (rl@hellgate.ch)
Sun, 16 Feb 2003 21:09:47 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-19247-1045426300-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Starting with 2.5.61, 8139too takes forever (30+ seconds) to take an
interface down. This gets the driver back to regular fraction of a second
time. Works for me.

Roger

--=_courier-19247-1045426300-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="8139too.c-2.5.61-sigterm.diff"

--- linux-2.5.61/drivers/net/8139too.c.orig Sun Feb 16 20:44:00 2003
+++ linux-2.5.61/drivers/net/8139too.c Sun Feb 16 20:44:16 2003
@@ -1589,7 +1589,7 @@
unsigned long timeout;

daemonize("%s", dev->name);
- allow_signal(SIGKILL);
+ allow_signal(SIGTERM);

while (1) {
timeout = next_tick;

--=_courier-19247-1045426300-0001-2--