diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-03-22 19:33:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-22 19:39:24 +0100 |
commit | 1b7c92b90514aaec0daea4319d519084da373aeb (patch) | |
tree | 717c367197a471fd066dc6f87216db88abb10854 /net/l2tp | |
parent | ioat/dca: Update DCA BIOS workarounds to use TAINT_FIRMWARE_WORKAROUND (diff) | |
download | linux-1b7c92b90514aaec0daea4319d519084da373aeb.tar.xz linux-1b7c92b90514aaec0daea4319d519084da373aeb.zip |
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.c | 2 |
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) 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; } |