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>
Thu, 8 Jun 2023 13:33:14 +0000 (15:33 +0200)
commit76cabb95da1994b84a373346c46e52ec836edfc7
tree292892222b3d112739adc67e238e4ea85f84ccd0
parent47437563aafcd7158584cbfc991f754f27aebeba
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)
(cherry picked from commit 7b31c2e9ed4da7bfeecbd393c17c249eca870717)
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