diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-02-14 16:21:36 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-02-14 16:22:53 +0100 |
commit | 869df9ecdf0aeaa0fe1c97c1a1801340086f9ab3 (patch) | |
tree | 17a9189b5df849247bbbeb0ff9d0e4d7eae6c0c7 /target/linux/generic/hack-6.1 | |
parent | 79888f9127690e28e58047474c1ce1017632f647 (diff) |
kernel: fix bidirectional hardware flow offload
Fix a bug that was introduced upstream
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/hack-6.1')
-rw-r--r-- | target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch b/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch index 9ff45a414e..f753b590e7 100644 --- a/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch +++ b/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch @@ -36,7 +36,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o --- /dev/null +++ b/net/netfilter/xt_FLOWOFFLOAD.c -@@ -0,0 +1,698 @@ +@@ -0,0 +1,699 @@ +/* + * Copyright (C) 2018-2021 Felix Fietkau <nbd@nbd.name> + * @@ -574,6 +574,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> + if (!net) + write_pnet(&table->ft.net, xt_net(par)); + ++ __set_bit(NF_FLOW_HW_BIDIRECTIONAL, &flow->flags); + if (flow_offload_add(&table->ft, flow) < 0) + goto err_flow_add; + |