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
net: remove blank lines at end of file
2018-07-24 14:10:43 -07:00
core.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
header_ops.c
ieee802154.h
genetlink: make policy common to family
2019-03-22 10:38:23 -04:00
Kconfig
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
netlink.c
genetlink: make policy common to family
2019-03-22 10:38:23 -04:00
nl-mac.c
nl-phy.c
net: dev: Add extack argument to dev_set_mac_address()
2018-12-13 18:41:38 -08:00
nl802154.c
genetlink: optionally validate strictly/dumps
2019-04-27 17:07:22 -04:00
nl802154.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
nl_policy.c
net: remove blank lines at end of file
2018-07-24 14:10:43 -07:00
rdev-ops.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
socket.c
net: rework SIOCGSTAMP ioctl handling
2019-04-19 14:07:40 -07:00
sysfs.c
sysfs.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
trace.c
trace.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00