Commit d704f4b7 authored by Roger Luethi's avatar Roger Luethi Committed by Paul Mackerras

[PATCH] Fix 8139too device close

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.

The thread exit code assumes it can use SIGTERM to kill the driver
thread, not SIGKILL.
parent 2a8d220f
......@@ -1589,7 +1589,7 @@ static int rtl8139_thread (void *data)
unsigned long timeout;
daemonize("%s", dev->name);
allow_signal(SIGKILL);
allow_signal(SIGTERM);
while (1) {
timeout = next_tick;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment