Commit b66597d6 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Adrian Bunk

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

Signed-off-by: default avatarGuennadi Liakhovetski <gl@dsa-ac.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent b50f2128
......@@ -2551,6 +2551,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