linux_dsm_epyc7002/net/l2tp
Guillaume Nault 765924e362 l2tp: don't close sessions in l2tp_tunnel_destruct()
Sessions are already removed by the proto ->destroy() handlers, and
since commit f3c66d4e14 ("l2tp: prevent creation of sessions on terminated tunnels"),
we're guaranteed that no new session can be created afterwards.

Furthermore, l2tp_tunnel_closeall() can sleep when there are sessions
left to close. So we really shouldn't call it in a ->sk_destruct()
handler, as it can be used from atomic context.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-11 19:05:17 +09:00
..
Kconfig l2tp: Call udp_sock_create 2014-07-14 16:12:15 -07:00
l2tp_core.c l2tp: don't close sessions in l2tp_tunnel_destruct() 2017-11-11 19:05:17 +09:00
l2tp_core.h l2tp: remove l2tp specific refcount debugging 2017-11-01 10:57:24 +09:00
l2tp_debugfs.c l2tp: remove ->ref() and ->deref() 2017-11-01 10:57:24 +09:00
l2tp_eth.c l2tp: remove field 'dev' from struct l2tp_eth 2017-11-01 10:57:24 +09:00
l2tp_ip6.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-10 10:00:18 +09:00
l2tp_ip.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-10 10:00:18 +09:00
l2tp_netlink.c l2tp: remove ->ref() and ->deref() 2017-11-01 10:57:24 +09:00
l2tp_ppp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00