--- zzzz-none-000/linux-3.10.107/net/netfilter/nf_conntrack_proto_tcp.c 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/net/netfilter/nf_conntrack_proto_tcp.c 2021-11-10 11:53:56.000000000 +0000 @@ -8,6 +8,12 @@ * published by the Free Software Foundation. */ +/** + * Some part of this file is modified by Ikanos Communications. + * + * Copyright (C) 2013-2014 Ikanos Communications. + */ + #include #include #include @@ -998,11 +1004,13 @@ break; } +#if !defined(CONFIG_FUSIV_KERNEL_AP_2_AP) && !defined(CONFIG_FUSIV_KERNEL_AP_2_AP_MODULE) if (!tcp_in_window(ct, &ct->proto.tcp, dir, index, skb, dataoff, th, pf)) { spin_unlock_bh(&ct->lock); return -NF_ACCEPT; } +#endif in_window: /* From now on we have got in-window packets */ ct->proto.tcp.last_index = index; @@ -1702,3 +1710,6 @@ .get_net_proto = tcp_get_net_proto, }; EXPORT_SYMBOL_GPL(nf_conntrack_l4proto_tcp6); +#ifdef CONFIG_MACH_FUSIV +EXPORT_SYMBOL(tcp_timeouts); +#endif