Commit 165de5b7 authored by G. Liakhovetski's avatar G. Liakhovetski Committed by David S. Miller

[PPP]: Don't leak an sk_buff on interface destruction.

Signed-off-by: default avatarG. Liakhovetski <gl@dsa-ac.de>
Acked-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 035832a2
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment