public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [patch -next] l2tp: calling the ref() instead of deref()
@ 2013-03-22 18:33 Dan Carpenter
  2013-03-22 18:39 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2013-03-22 18:33 UTC (permalink / raw)
  To: David S. Miller
  Cc: James Chapman, Tom Parkin, Eric Dumazet, netdev, kernel-janitors,
	kbuild

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>
---
Only needed in linux-next.

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;
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch -next] l2tp: calling the ref() instead of deref()
  2013-03-22 18:33 [patch -next] l2tp: calling the ref() instead of deref() Dan Carpenter
@ 2013-03-22 18:39 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-03-22 18:39 UTC (permalink / raw)
  To: dan.carpenter
  Cc: jchapman, tparkin, edumazet, netdev, kernel-janitors, kbuild

From: Dan Carpenter <dan.carpenter@oracle.com>
Date: Fri, 22 Mar 2013 21:33:15 +0300

> 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>

Applied, thanks Dan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-22 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 18:33 [patch -next] l2tp: calling the ref() instead of deref() Dan Carpenter
2013-03-22 18:39 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox