projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c78f8
)
l2tp: calling the ref() instead of deref()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 22 Mar 2013 18:33:15 +0000
(21:33 +0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 22 Mar 2013 18:39:24 +0000
(14:39 -0400)
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>
net/l2tp/l2tp_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/l2tp/l2tp_core.c
b/net/l2tp/l2tp_core.c
index 8aecf5df66569a6ca0ae1b8921e20954d6812336..6984c3a353cd003bc91150485faeecefa078c763 100644
(file)
--- 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->
de
ref)(session);
l2tp_session_dec_refcount(session);
return 0;
}