diff options
author | Tom Parkin <tparkin@katalix.com> | 2013-03-19 10:11:21 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-20 20:10:39 +0400 |
commit | cf2f5c886a209377daefd5d2ba0bcd49c3887813 (patch) | |
tree | 6504ce7eb6d886aad6536706de9ae9080ea4d342 /net/l2tp/l2tp_netlink.c | |
parent | 4c6e2fd35460208596fa099ee0750a4b0438aa5c (diff) | |
download | linux-cf2f5c886a209377daefd5d2ba0bcd49c3887813.tar.xz |
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