[PATCH] ramips: mt7621: HW-NAT typo fix
Lucian Cristian
luci at powerneth.ro
Fri Apr 16 13:44:06 BST 2021
This fixes Hardware Offload on MT7621
Signed-off-by: Lucian Cristian <lucian.cristian at gmail.com>
-------------- next part --------------
diff --git a/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch b/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
index 82e3ddec3f..660ac77dce 100644
--- a/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
+++ b/target/linux/generic/backport-5.10/610-v5.13-33-net-ethernet-mtk_eth_soc-add-flow-offloading-support.patch
@@ -127,7 +127,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
+
+static const struct rhashtable_params mtk_flow_ht_params = {
+ .head_offset = offsetof(struct mtk_flow_entry, node),
-+ .head_offset = offsetof(struct mtk_flow_entry, cookie),
++ .key_offset = offsetof(struct mtk_flow_entry, cookie),
+ .key_len = sizeof(unsigned long),
+ .automatic_shrinking = true,
+};
More information about the openwrt-devel
mailing list