pptp: fix skb leak in pptp_xmit()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 17 Oct 2011 17:01:47 +0000 (17:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 06:39:43 +0000 (02:39 -0400)
commit8bae8bd6cb24eecad9fda3e125d36ab9c67d3fd7
tree2cfbe13ebde2a8d771688a27e702554f1b2ea912
parent4d97480b1806e883eb1c7889d4e7a87e936e06d9
pptp: fix skb leak in pptp_xmit()

In case we cant transmit skb, we must free it

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Dmitry Kozlov <xeb@mail.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pptp.c