From: Felix Fietkau Date: Sun, 7 Aug 2011 21:17:18 +0000 (+0000) Subject: kernel: fix another typo in the netfilter optimization patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba9e7889dd564e9c436df1751fc05f381772680c;p=openwrt%2Fstaging%2F981213.git kernel: fix another typo in the netfilter optimization patches SVN-Revision: 27927 --- diff --git a/target/linux/generic/patches-2.6.39/612-netfilter_match_reduce_memory_access.patch b/target/linux/generic/patches-2.6.39/612-netfilter_match_reduce_memory_access.patch index a36a1728d1..7c50ad7478 100644 --- a/target/linux/generic/patches-2.6.39/612-netfilter_match_reduce_memory_access.patch +++ b/target/linux/generic/patches-2.6.39/612-netfilter_match_reduce_memory_access.patch @@ -9,7 +9,7 @@ + (ip->saddr&ipinfo->smsk.s_addr) != ipinfo->src.s_addr, IPT_INV_SRCIP) || - FWINV((ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, -+ FWINV(ipinfo->smsk.s_addr && ++ FWINV(ipinfo->dmsk.s_addr && + (ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, IPT_INV_DSTIP)) { dprintf("Source or dest mismatch.\n"); diff --git a/target/linux/generic/patches-3.0/612-netfilter_match_reduce_memory_access.patch b/target/linux/generic/patches-3.0/612-netfilter_match_reduce_memory_access.patch index 817b37efd1..f506165e1d 100644 --- a/target/linux/generic/patches-3.0/612-netfilter_match_reduce_memory_access.patch +++ b/target/linux/generic/patches-3.0/612-netfilter_match_reduce_memory_access.patch @@ -9,7 +9,7 @@ + (ip->saddr&ipinfo->smsk.s_addr) != ipinfo->src.s_addr, IPT_INV_SRCIP) || - FWINV((ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, -+ FWINV(ipinfo->smsk.s_addr && ++ FWINV(ipinfo->dmsk.s_addr && + (ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, IPT_INV_DSTIP)) { dprintf("Source or dest mismatch.\n");