| Submitter | Tom Parkin |
|---|---|
| Date | Feb. 15, 2013, 10:25 a.m. |
| Message ID | <1360923919-7203-7-git-send-email-tparkin@katalix.com> |
| Download | mbox | patch |
| Permalink | /patch/220714/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 26b5f00..f3735d6 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1704,6 +1704,7 @@ EXPORT_SYMBOL_GPL(l2tp_tunnel_create); */ int l2tp_tunnel_delete(struct l2tp_tunnel *tunnel) { + l2tp_tunnel_closeall(tunnel); return (false == queue_work(l2tp_wq, &tunnel->del_work)); } EXPORT_SYMBOL_GPL(l2tp_tunnel_delete);