summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2017-11-09 00:29:52 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-11 11:05:17 +0100
commit765924e362d12f87786060b98a49abd91e11ea96 (patch)
treec83a3254af4dced8b31585362f310efd579a01c4 /net/decnet
parentMerge branch 'FACK-loss-recovery-remove' (diff)
downloadlinux-765924e362d12f87786060b98a49abd91e11ea96.tar.xz
linux-765924e362d12f87786060b98a49abd91e11ea96.zip
l2tp: don't close sessions in l2tp_tunnel_destruct()
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 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>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions