mbox series

[net,0/3] sja1105 driver fixes

Message ID 20250318115716.2124395-1-vladimir.oltean@nxp.com (mailing list archive)
Headers show
Series sja1105 driver fixes | expand

Message

Vladimir Oltean March 18, 2025, 11:57 a.m. UTC
Hello,

This is a collection of 3 fixes for the sja1105 DSA driver:
- 1/3: "ethtool -S" shows a bogus counter with no name, and doesn't show
  a valid counter because of it (either "n_not_reach" or "n_rx_bcast").
- 2/3: RX timestamping filters other than L2 PTP event messages don't work,
  but are not rejected, either.
- 3/3: there is a KASAN out-of-bounds warning in sja1105_table_delete_entry()

Vladimir Oltean (3):
  net: dsa: sja1105: fix displaced ethtool statistics counters
  net: dsa: sja1105: reject other RX filters than
    HWTSTAMP_FILTER_PTP_V2_L2_EVENT
  net: dsa: sja1105: fix kasan out-of-bounds warning in
    sja1105_table_delete_entry()

 drivers/net/dsa/sja1105/sja1105_ethtool.c     |  9 ++++++++-
 drivers/net/dsa/sja1105/sja1105_ptp.c         | 20 ++++++++++++++-----
 .../net/dsa/sja1105/sja1105_static_config.c   |  6 ++++--
 3 files changed, 27 insertions(+), 8 deletions(-)