Commit 8bae8bd6 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

pptp: fix skb leak in pptp_xmit()

In case we cant transmit skb, we must free it
Signed-off-by: default avatarEric Dumazet <>
CC: Dmitry Kozlov <>
Signed-off-by: default avatarDavid S. Miller <>
parent 4d97480b
......@@ -285,8 +285,10 @@ static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb)
return 1;
return 1;
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