public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH stable-5.15.y 0/2] Fix PTP received on wrong port with bridged SJA1105 DSA
@ 2024-05-31 16:50 Vladimir Oltean
  2024-05-31 16:50 ` [PATCH stable-5.15.y 1/2] net: dsa: sja1105: always enable the INCL_SRCPT option Vladimir Oltean
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Oltean @ 2024-05-31 16:50 UTC (permalink / raw)
  To: stable, Sasha Levin, Greg Kroah-Hartman
  Cc: netdev, linux-kernel, Andrew Lunn, Florian Fainelli,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman

It has been brought to my attention that what had been fixed 1 year ago
here for kernels 5.18 and later:
https://lore.kernel.org/netdev/20230626155112.3155993-1-vladimir.oltean@nxp.com/

is still broken on linux-5.15.y. Short summary: PTP boundary clock is
broken for ports under a VLAN-aware bridge.

The reason is that the Fixes: tags in those patches were wrong. The
issue originated from earlier, but the changes from 5.18 (blamed there),
aka DSA FDB isolation, masked that.

A straightforward cherry-pick was not possible, due to the conflict with
the aforementioned DSA FDB isolation work from 5.18. So I redid patch
2/2 and marked what I had to adapt.

Tested on the NXP LS1021A-TSN board.

Vladimir Oltean (2):
  net: dsa: sja1105: always enable the INCL_SRCPT option
  net: dsa: tag_sja1105: always prefer source port information from
    INCL_SRCPT

 drivers/net/dsa/sja1105/sja1105_main.c |  9 ++-----
 net/dsa/tag_sja1105.c                  | 34 ++++++++++++++++++++------
 2 files changed, 28 insertions(+), 15 deletions(-)
---

I'm sorry for the people who will want to backport DSA FDB isolation to
linux-5.15.y :(

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-12 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 16:50 [PATCH stable-5.15.y 0/2] Fix PTP received on wrong port with bridged SJA1105 DSA Vladimir Oltean
2024-05-31 16:50 ` [PATCH stable-5.15.y 1/2] net: dsa: sja1105: always enable the INCL_SRCPT option Vladimir Oltean
2024-05-31 16:50 ` [PATCH stable-5.15.y 2/2] net: dsa: tag_sja1105: always prefer source port information from INCL_SRCPT Vladimir Oltean
2024-06-12 13:58 ` [PATCH stable-5.15.y 0/2] Fix PTP received on wrong port with bridged SJA1105 DSA Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox