summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-03-22 21:33:15 +0300
committerDavid S. Miller <davem@davemloft.net>2013-03-22 14:39:24 -0400
commit1b7c92b90514aaec0daea4319d519084da373aeb (patch)
tree717c367197a471fd066dc6f87216db88abb10854 /net/l2tp
parentf3c78f8515dd4cb9e26040ebb54cf589d21137ee (diff)
downloadop-kernel-dev-1b7c92b90514aaec0daea4319d519084da373aeb.zip
op-kernel-dev-1b7c92b90514aaec0daea4319d519084da373aeb.tar.gz
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 8aecf5d..6984c3a 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)
if (session->session_close != NULL)
(*session->session_close)(session);
if (session->deref)
- (*session->ref)(session);
+ (*session->deref)(session);
l2tp_session_dec_refcount(session);
return 0;
}
OpenPOWER on IntegriCloud