netif_poll_disable() hangs
Subsystems (2)
Very simple:
ifup eth0 ifdown eth0 ifup eth0 ifdown eth0 <- hangs in dev_close -> netif_poll_disable()
Because the first close sets __LINK_STATE_RX_SCHED and nothing ever clears it.
Quoted 10 lines · Andrew Morton
Very simple:
ifup eth0 ifdown eth0 ifup eth0 ifdown eth0 <- hangs in dev_close -> netif_poll_disable()Because the first close sets
__LINK_STATE_RX_SCHEDand nothing ever clears it.
Weird. Looking at older 2.4 and 2.6, the bit has always been set that way.
process_backlog() has always been the only site that ever clears that bit... maybe process_backlog() is called when interface is up'd, which is why it worked before (and should be working now)?
Jeff
Quoted 10 lines · Jeff Garzik
Quoted 8 lines · Andrew Morton
Very simple:
ifup eth0 ifdown eth0 ifup eth0 ifdown eth0 <- hangs in dev_close -> netif_poll_disable()
Quoted 5 lines
Quoted 2 lines
Because the first close sets
__LINK_STATE_RX_SCHEDand nothing ever clears it.Weird. Looking at older 2.4 and 2.6, the bit has always been set that way.
2.4 does test_bit, 2.6 does test_and_set_bit.
Quoted 10 lines · Andrew Morton
Very simple:
ifup eth0 ifdown eth0 ifup eth0 ifdown eth0 <- hangs in dev_close -> netif_poll_disable()Because the first close sets
__LINK_STATE_RX_SCHEDand nothing ever clears it.
Thanks, fix patch just sent.