From: Dan Carpenter Date: Fri, 22 Mar 2013 18:33:15 +0000 (+0300) Subject: l2tp: calling the ref() instead of deref() X-Git-Tag: upstream/snapshot3+hdmi~5164^2~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b7c92b90514aaec0daea4319d519084da373aeb;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: David S. Miller --- 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; }