aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-03-22 14:33:15 -0400
committerDavid S. Miller <davem@davemloft.net>2013-03-22 14:39:24 -0400
commit1b7c92b90514aaec0daea4319d519084da373aeb (patch)
tree717c367197a471fd066dc6f87216db88abb10854 /net/l2tp
parentf3c78f8515dd4cb9e26040ebb54cf589d21137ee (diff)
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
-rw-r--r--net/l2tp/l2tp_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
index 8aecf5df6656..6984c3a353cd 100644
--- a/net/l2tp/l2tp_core.c
+++ b/net/l2tp/l2tp_core.c
@@ -1777,7 +1777,7 @@ int l2tp_session_delete(struct l2tp_session *session)
1777 if (session->session_close != NULL) 1777 if (session->session_close != NULL)
1778 (*session->session_close)(session); 1778 (*session->session_close)(session);
1779 if (session->deref) 1779 if (session->deref)
1780 (*session->ref)(session); 1780 (*session->deref)(session);
1781 l2tp_session_dec_refcount(session); 1781 l2tp_session_dec_refcount(session);
1782 return 0; 1782 return 0;
1783} 1783}