Re: [PATCH net-next] l2tp: don't close sessions in l2tp_tunnel_destruct()

2017-11-11 Thread David Miller
From: Guillaume Nault Date: Thu, 9 Nov 2017 08:29:52 +0900 > Sessions are already removed by the proto ->destroy() handlers, and > since commit f3c66d4e144a ("l2tp: prevent creation of sessions on terminated > tunnels"), > we're guaranteed that no new session can be

[PATCH net-next] l2tp: don't close sessions in l2tp_tunnel_destruct()

2017-11-08 Thread Guillaume Nault
Sessions are already removed by the proto ->destroy() handlers, and since commit f3c66d4e144a ("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