Commit 1b7c92b9 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

l2tp: calling the ref() instead of deref()

This is a cut and paste typo.  We call ->ref() a second time instead
of ->deref().
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3c78f85
...@@ -1777,7 +1777,7 @@ int l2tp_session_delete(struct l2tp_session *session) ...@@ -1777,7 +1777,7 @@ int l2tp_session_delete(struct l2tp_session *session)
if (session->session_close != NULL) if (session->session_close != NULL)
(*session->session_close)(session); (*session->session_close)(session);
if (session->deref) if (session->deref)
(*session->ref)(session); (*session->deref)(session);
l2tp_session_dec_refcount(session); l2tp_session_dec_refcount(session);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment