Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361797
b: refs/heads/master
c: 4c6e2fd
h: refs/heads/master
i:
  361795: 7a75cb3
v: v3
  • Loading branch information
Tom Parkin authored and David S. Miller committed Mar 20, 2013
1 parent 9c5f0ee commit 9d54f99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48f72f92b31431c40279b0fba6c5588e07e67d95
refs/heads/master: 4c6e2fd35460208596fa099ee0750a4b0438aa5c
4 changes: 4 additions & 0 deletions trunk/net/l2tp/l2tp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,8 @@ void l2tp_tunnel_closeall(struct l2tp_tunnel *tunnel)
synchronize_rcu();
}

l2tp_session_queue_purge(session);

if (session->session_close != NULL)
(*session->session_close)(session);

Expand Down Expand Up @@ -1813,6 +1815,8 @@ EXPORT_SYMBOL_GPL(l2tp_session_free);
*/
int l2tp_session_delete(struct l2tp_session *session)
{
l2tp_session_queue_purge(session);

if (session->session_close != NULL)
(*session->session_close)(session);

Expand Down

0 comments on commit 9d54f99

Please sign in to comment.