kernel: fix mtk dsa tag padding
authorFelix Fietkau <nbd@nbd.name>
Thu, 2 Mar 2023 11:58:16 +0000 (12:58 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Mar 2023 11:47:33 +0000 (12:47 +0100)
commit7b05a8d05d1e007ef5ed7b2c51eb196fabbe192c
tree4707e1c7d2248305d82b7ad42fb372f50e81bb69
parentcfce8ab388f10b9c463464b3f61d86260e17116e
kernel: fix mtk dsa tag padding

The padding intended to avoid corrupted non-zero padding payload was
accidentally adding too many padding bytes, tripping up some setups.
Fix this by using eth_skb_pad instead.
Fixes #11942.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 9307c27539805de021fb7163f6ad6dc08992331b)
target/linux/generic/pending-5.10/705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch