Francois Romieu said:
Mark Broadbent [off-list ref] :
[...]
quoted
No need, if netpoll_cleanup is called whilst a retry is pending the tx
list lock is taken. All the references to the netpoll pointer are
deleted from the pending list before the lock is released.
I may be a bit dense but:
t0 : tx_retry_wq().queue_delayed_work(tx_wq, &tx_wq_obj,
HZ/100);
t0 + 10*HZ/1000: tx_retry_wq() is done (it was not fast for sure)
t0 + 20*HZ/1000: netpoll_cleanup() + module removal
t0 + HZ/100 : tx_retry_wq() <- Where are its code and data ?
You logic is correct but I'm positive that netpoll.o is always built into
the kernel image and hence cannot be unloaded.
[...]
Thanks
Mark
--
Mark Broadbent [off-list ref]
Web: http://www.wetlettuce.com