aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_netlink.c
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2013-03-19 06:11:21 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-20 12:10:39 -0400
commitcf2f5c886a209377daefd5d2ba0bcd49c3887813 (patch)
tree6504ce7eb6d886aad6536706de9ae9080ea4d342 /net/l2tp/l2tp_netlink.c
parentl2tp: purge session reorder queue on delete (diff)
downloadlinux-dev-cf2f5c886a209377daefd5d2ba0bcd49c3887813.tar.xz
linux-dev-cf2f5c886a209377daefd5d2ba0bcd49c3887813.zip
l2tp: push all ppp pseudowire shutdown through .release handler
If userspace deletes a ppp pseudowire using the netlink API, either by directly deleting the session or by deleting the tunnel that contains the session, we need to tear down the corresponding pppox channel. Rather than trying to manage two pppox unbind codepaths, switch the netlink and l2tp_core session_close handlers to close via. the l2tp_ppp socket .release handler. 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>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')
0 files changed, 0 insertions, 0 deletions