Skip to content
Commit db83d136 authored by Manfred Rudigier's avatar Manfred Rudigier Committed by David S. Miller
Browse files

gianfar: Fix missing sock reference when processing TX time stamps



When there is not enough headroom in the skb a private copy will be made.
However, the private copy had no reference to the socket and consequently
no time stamp could be queued on the socket error queue during the
skb_tstamp_tx function. This patch fixes this issue by also stealing the
sock reference from the original skb after making the private copy.

Signed-off-by: default avatarManfred Rudigier <manfred.rudigier@omicron.at>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eb8a54a7
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