Make sure all tasklets are drained before unloading the LinuxKPI.
Else use-after-free may happen. MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
This commit is contained in:
parent
032bf749fd
commit
209d4919c5
@ -128,6 +128,8 @@ tasklet_subsystem_uninit(void *arg __unused)
|
||||
struct tasklet_worker *tw;
|
||||
int i;
|
||||
|
||||
taskqgroup_drain_all(qgroup_softirq);
|
||||
|
||||
CPU_FOREACH(i) {
|
||||
if (CPU_ABSENT(i))
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user