Message ID | 1360923919-7203-4-git-send-email-tparkin@katalix.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 3842f67..7f3ab65 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1328,6 +1328,8 @@ again: if (session->deref != NULL) (*session->deref)(session); + l2tp_session_dec_refcount(session); + write_lock_bh(&tunnel->hlist_lock); /* Now restart from the beginning of this hash