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:
035832a
)
[PPP]: Don't leak an sk_buff on interface destruction.
author
G. Liakhovetski
<gl@dsa-ac.de>
Mon, 26 Mar 2007 02:04:09 +0000
(19:04 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 26 Mar 2007 02:04:09 +0000
(19:04 -0700)
Signed-off-by: G. Liakhovetski <gl@dsa-ac.de>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ppp_generic.c
b/drivers/net/ppp_generic.c
index 11b575f89856b55d0307c06513cc4695909cba2a..ef58e41287820dd23d0066c4aede6b3822983299 100644
(file)
--- a/
drivers/net/ppp_generic.c
+++ b/
drivers/net/ppp_generic.c
@@
-2544,6
+2544,9
@@
static void ppp_destroy_interface(struct ppp *ppp)
ppp->active_filter = NULL;
#endif /* CONFIG_PPP_FILTER */
+ if (ppp->xmit_pending)
+ kfree_skb(ppp->xmit_pending);
+
kfree(ppp);
}