l2tp: calling the ref() instead of deref()
Subsystems (3)
PATCH 1/1 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 <[email protected]>
---
Only needed in linux-next.
net/l2tp/l2tp_core.c +1 -1
@@ -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 ; }
From: Dan Carpenter <[email protected]>
Date: Fri, 22 Mar 2013 21:33:15 +0300
Quoted 4 lines
This is a cut and paste typo. We call ->ref() a second time instead of ->deref().
Signed-off-by Dan Carpenter <[email protected]>
Applied, thanks Dan.