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>
Thu, 2 Mar 2023 11:59:53 +0000 (12:59 +0100)
commit9307c27539805de021fb7163f6ad6dc08992331b
tree390c24ae1d03d07bab811e8fb6582b3b20d0c243
parent23b46b1c6174c47b3019bc1223891e9242e66387
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>
target/linux/generic/pending-5.10/705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch
target/linux/generic/pending-5.15/705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch
target/linux/generic/pending-5.15/732-05-net-dsa-tag_mtk-assign-per-port-queues.patch