aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch
diff options
context:
space:
mode:
authorRitaro Takenaka <ritarot634@gmail.com>2022-05-25 15:55:48 +0900
committerHauke Mehrtens <hauke@hauke-m.de>2022-07-03 20:00:16 +0200
commit6d891adf390dd232c63fa77a8e71750495c04159 (patch)
treeaff4a0fb66d549b5a7f549c75712a59a0bb6efd9 /target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch
parent78b7515c2ea0cf6ed69ae12bcdfce928c6897f16 (diff)
downloadupstream-6d891adf390dd232c63fa77a8e71750495c04159.tar.gz
upstream-6d891adf390dd232c63fa77a8e71750495c04159.tar.bz2
upstream-6d891adf390dd232c63fa77a8e71750495c04159.zip
kernel: check dst of flow offloading table
Flow offload dst can become invalid after the route cache is created. dst_check() in packet path is necessary to prevent packet drop. Signed-off-by: Ritaro Takenaka <ritarot634@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch')
-rw-r--r--target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch b/target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch
index b808c0257d..ae9f7f0d83 100644
--- a/target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch
+++ b/target/linux/generic/pending-5.4/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch
@@ -55,7 +55,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
int (*ndo_get_phys_port_id)(struct net_device *dev,
--- a/include/net/netfilter/nf_flow_table.h
+++ b/include/net/netfilter/nf_flow_table.h
-@@ -85,6 +85,21 @@ struct flow_offload {
+@@ -88,6 +88,21 @@ struct flow_offload {
};
};