diff options
| author | Eric Dumazet <[email protected]> | 2019-05-27 16:56:48 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-28 17:22:15 -0700 |
| commit | ae7352d384a552d8c799c242e74a934809990a71 (patch) | |
| tree | 9e0f7e4476b524263e403ff8be2acb6a9746cddb /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | 6b73d19711d0989cbdcd19c61faa0f79a1a5e466 (diff) | |
inet: frags: call inet_frags_fini() after unregister_pernet_subsys()
Both IPv6 and 6lowpan are calling inet_frags_fini() too soon.
inet_frags_fini() is dismantling a kmem_cache, that might be needed
later when unregister_pernet_subsys() eventually has to remove
frags queues from hash tables and free them.
This fixes potential use-after-free, and is a prereq for the following patch.
Fixes: d4ad4d22e7ac ("inet: frags: use kmem_cache for inet_frag_queue")
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions