kernel_optimize_test/net/ieee802154
Eric Dumazet ae7352d384 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: d4ad4d22e7 ("inet: frags: use kmem_cache for inet_frag_queue")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-28 17:22:15 -07:00
..
6lowpan inet: frags: call inet_frags_fini() after unregister_pernet_subsys() 2019-05-28 17:22:15 -07:00
core.c
core.h
header_ops.c
ieee802154.h
Kconfig
Makefile
netlink.c
nl_policy.c
nl-mac.c
nl-phy.c
nl802154.c
nl802154.h
rdev-ops.h
socket.c
sysfs.c
sysfs.h
trace.c
trace.h