net: l2tp_eth: fix l2tp_eth_dev_xmit race
commitaa214de0595eecf5079a172a16333fa638b64915
authorEric Dumazet <edumazet@google.com>
Mon, 25 Jun 2012 00:45:14 +0000 (25 00:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:30:54 +0000 (25 16:30 -0700)
tree7bfb8c40355c96c01903a83f9ebd546f9bc1b73c
parent044ca2a5f2f781c7e4b49c7c0a256913648297ea
net: l2tp_eth: fix l2tp_eth_dev_xmit race

Its illegal to dereference skb after giving it to l2tp_xmit_skb()
as it might be already freed/reused.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_eth.c