提交 165de5b7 编写于 作者: G G. Liakhovetski 提交者: David S. Miller

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

Signed-off-by: NG. Liakhovetski <gl@dsa-ac.de>
Acked-by: NPaul Mackerras <paulus@samba.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册