fix ifdown/ifup bug
PATCH 1/1 fix ifdown/ifup bug
Marcelo,
If you haven't gotten this patch from somebody else, please make sure this is applied. It fixes a bug I introduced in -pre3 when moving some helpers from tg3 to netdevice.h.
Jeff
net/core/dev.c +5 -1
@@ -851,7 +851,11 @@* engine, but this requires more changes in devices. */ smp_mb__after_clear_bit ();/* Commit netif_running(). */ -netif_poll_disable (dev); +while (test_bit (__LINK_STATE_RX_SCHED, &dev->state)) { +/* No hurry. */ + current->state =TASK_INTERRUPTIBLE ; +schedule_timeout (1 ); + }/* * Call the device specific close. This cannot fail.
Quoted 6 lines · Jeff Garzik
Marcelo,
If you haven't gotten this patch from somebody else, please make sure this is applied. It fixes a bug I introduced in -pre3 when moving some helpers from tg3 to
netdevice.h.
FYI it does not seem to fix this issue for me.
Fedor