From: David S. Miller Date: Thu, 22 Jul 2021 06:15:06 +0000 (-0700) Subject: Merge branch 'ksz-dsa-fixes' X-Git-Tag: accepted/tizen/unified/20230118.172025~6780^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ca096dbeaef0654f59d61196dd49c7254c6d826;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'ksz-dsa-fixes' Lino Sanfilippo says: ==================== Fixes for KSZ DSA switch 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. Changes in v2: - instead of linearizing the SKBs only for KSZ switches ensure linearized SKBs for all tail taggers by clearing the feature flags NETIF_F_HW_SG and NETIF_F_FRAGLIST (suggested by Vladimir Oltean) The patches have been tested with a KSZ9897 and apply against net-next. ==================== Signed-off-by: David S. Miller --- 5ca096dbeaef0654f59d61196dd49c7254c6d826