6c342ce223
We cannot do the cancel_work_sync from after the unregister_netdev, as
the dev pointer is no longer valid, causing a uaf on ldisc unregister
(or device close).
Instead, do the cancel_work_sync from the ndo_uninit op, where the dev
still exists, but the queue has stopped.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mctp-serial.c |