]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: export l2tp_tunnel_closeall
authorTom Parkin <tparkin@katalix.com>
Tue, 19 Mar 2013 06:11:14 +0000 (06:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:10:38 +0000 (12:10 -0400)
commitc08060d49f60e8b3f7a3f36902437befef84aa0c
tree676057248524a261fe9976cc677dc19658bc5e63
parent2da0ac9a2ba64ec4d49b8ab352afeed45688c800
l2tp: export l2tp_tunnel_closeall

l2tp_core internally uses l2tp_tunnel_closeall to close all sessions in a
tunnel when a UDP-encapsulation socket is destroyed.  We need to do something
similar for IP-encapsulation sockets.

Export l2tp_tunnel_closeall as a GPL symbol to enable l2tp_ip and l2tp_ip6 to
call it from their .destroy handlers.

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_core.c
net/l2tp/l2tp_core.h