aboutsummaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-09-18 04:07:23 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-18 13:52:33 -0700
commit9dda66acddcbcd5c9e94a1292c679738ba999345 (patch)
tree322ee6047f34ea67788d265697215403cc397156 /include/soc
parentnfp: use correct define to return NONE fec (diff)
downloadlinux-dev-9dda66acddcbcd5c9e94a1292c679738ba999345.tar.xz
linux-dev-9dda66acddcbcd5c9e94a1292c679738ba999345.zip
net: mscc: ocelot: fix race condition with TX timestamping
The TX-timestampable skb is added late to the ocelot_port->tx_skbs. It is in a race with the TX timestamp IRQ, which checks that queue trying to match the timestamp with the skb by the ts_id. The skb should be added to the queue before the IRQ can fire. Fixes: 4e3b0468e6d7 ("net: mscc: PTP Hardware Clock (PHC) support") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions