projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8440f
)
Subject: [PPPOL2TP] add missing sock_put() in pppol2tp_recv_dequeue()
author
Jarek Poplawski
<jarkao2@gmail.com>
Tue, 4 Mar 2008 04:48:53 +0000
(20:48 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Mar 2008 04:48:53 +0000
(20:48 -0800)
Every skb removed from session->reorder_q needs sock_put().
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Acked-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/pppol2tp.c
b/drivers/net/pppol2tp.c
index e0b072d9fdb7caf571e6594af1f732068cba5dab..dcd499118b95c64aa1e2d7b77451df7d3723a4d3 100644
(file)
--- a/
drivers/net/pppol2tp.c
+++ b/
drivers/net/pppol2tp.c
@@
-455,6
+455,7
@@
static void pppol2tp_recv_dequeue(struct pppol2tp_session *session)
skb_queue_len(&session->reorder_q));
__skb_unlink(skb, &session->reorder_q);
kfree_skb(skb);
+ sock_put(session->sock);
continue;
}