]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
l2tp: close sessions in ip socket destroy callback
authorTom Parkin <tparkin@katalix.com>
Tue, 19 Mar 2013 06:11:15 +0000 (06:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:10:38 +0000 (12:10 -0400)
commit936063175afd895913a5e9db77e1a0ef43ea44ea
treef98e60750ccd05beb835cd5cc652432bca22a6ad
parente34f4c7050e5471b6d4fb25380713937fc837514
l2tp: close sessions in ip socket destroy callback

l2tp_core hooks UDP's .destroy handler to gain advance warning of a tunnel
socket being closed from userspace.  We need to do the same thing for
IP-encapsulation sockets.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ip.c
net/l2tp/l2tp_ip6.c