[PATCH 0/2] Fixes for KSZ DSA switch

From: Lino Sanfilippo
Date: Wed Jul 14 2021 - 15:18:26 EST


These patches fix issues I encountered while using a KSZ9897 as a DSA
switch with a broadcom GENET network device as the DSA master device.

PATCH 1 fixes an invalid access to an SKB in case it is scattered.
PATCH 2 fixes incorrect hardware checksum calculation caused by the DSA
tag.

The patches have been tested with a KSZ9897 and apply against net-next.

Lino Sanfilippo (2):
net: dsa: tag_ksz: linearize SKB before adding DSA tag
net: dsa: tag_ksz: dont let the hardware process the layer 4 checksum

net/dsa/tag_ksz.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)


base-commit: 5e437416ff66981d8154687cfdf7de50b1d82bfc
--
2.32.0