aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.10
diff options
context:
space:
mode:
authorRitaro Takenaka <ritarot634@gmail.com>2022-05-25 02:51:19 +0900
committerHauke Mehrtens <hauke@hauke-m.de>2022-06-07 22:28:59 +0200
commit972160a0f7526fad1be9529879f16791a33355f9 (patch)
tree643b8b0f9508ac344622636e701faa7036d444a0 /target/linux/generic/hack-5.10
parent26958e9724968b0b15d86f5b38a41d1d845ad2d9 (diff)
downloadupstream-972160a0f7526fad1be9529879f16791a33355f9.tar.gz
upstream-972160a0f7526fad1be9529879f16791a33355f9.tar.bz2
upstream-972160a0f7526fad1be9529879f16791a33355f9.zip
kernel: backport flow offload fixes
Some dst in IPv6 flow offload table become invalid after the table is created. So check_dst is needed in packet path. Signed-off-by: Ritaro Takenaka <ritarot634@gmail.com> [Add patch for kernel 5.15 too and rename file] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit efff48529b5cdb4046b923bebee483c7c68755a7)
Diffstat (limited to 'target/linux/generic/hack-5.10')
-rw-r--r--target/linux/generic/hack-5.10/650-netfilter-add-xt_FLOWOFFLOAD-target.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/hack-5.10/650-netfilter-add-xt_FLOWOFFLOAD-target.patch b/target/linux/generic/hack-5.10/650-netfilter-add-xt_FLOWOFFLOAD-target.patch
index 8435ae71cd..6252f9a418 100644
--- a/target/linux/generic/hack-5.10/650-netfilter-add-xt_FLOWOFFLOAD-target.patch
+++ b/target/linux/generic/hack-5.10/650-netfilter-add-xt_FLOWOFFLOAD-target.patch
@@ -837,7 +837,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
+EXPORT_SYMBOL_GPL(nf_flow_table_iterate);
- static bool flow_offload_stale_dst(struct flow_offload_tuple *tuple)
+ static void nf_flow_offload_gc_step(struct flow_offload *flow, void *data)
{
--- /dev/null
+++ b/include/uapi/linux/netfilter/xt_FLOWOFFLOAD.h