kernel: fix crashes after linearizing fraglist GSO skbs
authorFelix Fietkau <nbd@nbd.name>
Thu, 26 Sep 2024 08:58:44 +0000 (10:58 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 26 Sep 2024 09:00:26 +0000 (11:00 +0200)
commit774badd8a840be9888583266e12ba9d267201ee9
treeb95754e03e83f548972b1fcc5dbe4a6ece097624
parent384d079fd87620234abc5061be65050c3d54a4fe
kernel: fix crashes after linearizing fraglist GSO skbs

This fixes some corner cases triggered by enabling fraglist GRO, where some
protocols may accidentally or intentionally linearize fraglist skbs.
Previously, these skbs became unusable and segmenting them led to crashes.
With this patch, they are properly handled by passing them to skb_segment
instead of skb_segment_list.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/pending-6.6/684-gso-fix-gso-fraglist-segmentation-after-pull-from-fr.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/685-net-gso-fix-tcp-fraglist-segmentation-after-pull-fro.patch [new file with mode: 0644]