Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 035832a2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
}