kernel: Backport mvneta crash fix to 5.15
authorMarek Behún <kabel@kernel.org>
Wed, 12 Apr 2023 11:01:25 +0000 (13:01 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 3 Jun 2023 19:15:11 +0000 (21:15 +0200)
commit7b31c2e9ed4da7bfeecbd393c17c249eca870717
tree97f9d9db4a06970abc4bbcda9cbd2d03ffea8fb4
parentd881f65da1e6f3bc4237b39cf2373bef51c3828c
kernel: Backport mvneta crash fix to 5.15

Backport Russell King's series [1]
  net: mvneta: reduce size of TSO header allocation
to pending-5.15 to fix random crashes on Turris Omnia.

This also backports two patches that are dependencies to this series:
  net: mvneta: Delete unused variable
  net: mvneta: fix potential double-frees in mvneta_txq_sw_deinit()

[1] https://lore.kernel.org/netdev/ZCsbJ4nG+So%2Fn9qY@shell.armlinux.org.uk/

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (squashed)
12 files changed:
target/linux/generic/backport-5.15/708-01-v5.16-net-mvneta-Delete-unused-variable.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/708-02-v6.3-net-mvneta-fix-potential-double-frees-in-mvneta_txq_.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/704-01-v6.4-net-mvneta-fix-transmit-path-dma-unmapping-on-error.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/704-02-v6.4-net-mvneta-mark-mapped-and-tso-buffers-separately.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/704-03-v6.4-net-mvneta-use-buf-type-to-determine-whether-to-dma-.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/704-04-v6.4-net-mvneta-move-tso_build_hdr-into-mvneta_tso_put_hd.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/704-05-v6.4-net-mvneta-allocate-TSO-header-DMA-memory-in-chunks.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.15/700-mvneta-tx-queue-workaround.patch
target/linux/mvebu/patches-5.15/702-net-next-ethernet-marvell-mvnetaMQPrioOffload.patch
target/linux/mvebu/patches-5.15/703-net-next-ethernet-marvell-mvnetaMQPrioFlag.patch
target/linux/mvebu/patches-5.15/704-net-next-ethernet-marvell-mvnetaMQPrioQueue.patch
target/linux/mvebu/patches-5.15/705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload.patch