mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
6565243c06
The ocelot_port->ts_id is used to:
(a) populate skb->cb[0] for matching the TX timestamp in the PTP IRQ
with an skb.
(b) populate the REW_OP from the injection header of the ongoing skb.
Only then is ocelot_port->ts_id incremented.
This is a problem because, at least theoretically, another timestampable
skb might use the same ocelot_port->ts_id before that is incremented.
Normally all transmit calls are serialized by the netdev transmit
spinlock, but in this case, ocelot_port_add_txtstamp_skb() is also
called by DSA, which has started declaring the NETIF_F_LLTX feature
since commit
|
||
---|---|---|
.. | ||
arc | ||
at91 | ||
bcm2835 | ||
brcmstb | ||
fsl | ||
imx | ||
mediatek | ||
mscc | ||
nps | ||
qcom | ||
rockchip | ||
sa1100 | ||
sifive | ||
tegra |