684880d89a
[ Upstream commit ae7352d384a552d8c799c242e74a934809990a71 ]
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:
|
||
---|---|---|
.. | ||
6lowpan_i.h | ||
core.c | ||
Kconfig | ||
Makefile | ||
reassembly.c | ||
rx.c | ||
tx.c |