Skip to content
Commit 79c5f51c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

irda: fix a race in irlan_eth_xmit()



After skb is queued, its illegal to dereference it.

Cache skb->len into a temporary variable.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c38657c
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