Skip to content
Commit eb70df13 authored by Jarek Poplawski's avatar Jarek Poplawski Committed by David S. Miller
Browse files

af_packet: Don't use skb after dev_queue_xmit()



tpacket_snd() can change and kfree an skb after dev_queue_xmit(),
which is illegal.

With debugging by: Stephen Hemminger <shemminger@vyatta.com>

Reported-by: default avatarMichael Breuer <mbreuer@majjas.com>
With help from: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarJarek Poplawski <jarkao2@gmail.com>
Tested-by: default avatarMichael <Breuer&lt;mbreuer@majjas.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fa15e99b
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