From 21ad3b64622fef676be2260730f0039de24949da Mon Sep 17 00:00:00 2001 From: Hugo Yuan <429632952@163.com> Date: Sat, 26 Jun 2021 01:30:04 +0800 Subject: [PATCH] fix 600-qca-nss-ecm-support-CORE.patch (#7184) --- .../600-qca-nss-ecm-support-CORE.patch | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/target/linux/ipq807x/patches-5.10/600-qca-nss-ecm-support-CORE.patch b/target/linux/ipq807x/patches-5.10/600-qca-nss-ecm-support-CORE.patch index a0931ff52..9c1f6ad15 100644 --- a/target/linux/ipq807x/patches-5.10/600-qca-nss-ecm-support-CORE.patch +++ b/target/linux/ipq807x/patches-5.10/600-qca-nss-ecm-support-CORE.patch @@ -1,22 +1,25 @@ --- a/net/netfilter/nf_conntrack_proto_tcp.c +++ b/net/netfilter/nf_conntrack_proto_tcp.c -@@ -32,12 +32,14 @@ +@@ -32,7 +32,8 @@ #include - + /* Do not check the TCP window for incoming packets */ -static int nf_ct_tcp_no_window_check __read_mostly = 1; +int nf_ct_tcp_no_window_check __read_mostly = 1; +EXPORT_SYMBOL_GPL(nf_ct_tcp_no_window_check); - + + #ifdef CONFIG_SHORTCUT_FE + EXPORT_SYMBOL_GPL(nf_ct_tcp_no_window_check); +@@ -41,7 +42,8 @@ EXPORT_SYMBOL_GPL(nf_ct_tcp_no_window_ch /* "Be conservative in what you do, be liberal in what you accept from others." If it's non-zero, we mark only out of window RST segments as INVALID. */ -static int nf_ct_tcp_be_liberal __read_mostly = 0; +int nf_ct_tcp_be_liberal __read_mostly = 0; +EXPORT_SYMBOL_GPL(nf_ct_tcp_be_liberal); - - /* If it is set to zero, we disable picking up already established - connections. */ + + #ifdef CONFIG_SHORTCUT_FE + EXPORT_SYMBOL_GPL(nf_ct_tcp_be_liberal); --- a/include/linux/if_bridge.h +++ b/include/linux/if_bridge.h @@ -60,6 +60,9 @@ struct br_ip_list {