kernel: fix a race condition leading to a crash in hw flow offloading
authorFelix Fietkau <nbd@nbd.name>
Mon, 14 Feb 2022 12:58:38 +0000 (13:58 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 14 Feb 2022 12:59:14 +0000 (13:59 +0100)
commitebe0b2af65c27b96cd0db9533cb63feda5a581f6
tree653deae7fd1cc2c3580da2057b9602a858dd0cfe
parent54e1a6fced535cc2a8ed5204072dbf8882761b00
kernel: fix a race condition leading to a crash in hw flow offloading

flowtable->net was initialized too late, and this could be triggered even
without hardware offload support on the device

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/hack-5.10/650-netfilter-add-xt_FLOWOFFLOAD-target.patch