kernel: fix another typo in the netfilter optimization patches
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Aug 2011 21:17:18 +0000 (21:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 7 Aug 2011 21:17:18 +0000 (21:17 +0000)
SVN-Revision: 27927

target/linux/generic/patches-2.6.39/612-netfilter_match_reduce_memory_access.patch
target/linux/generic/patches-3.0/612-netfilter_match_reduce_memory_access.patch

index a36a1728d187102c0c67f8e9664968b3c5d3bf7e..7c50ad7478c8a8b898f80e3055e20596db9cfdd2 100644 (file)
@@ -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");
index 817b37efd15b55934e25cf111ae5b375324dbf87..f506165e1d3639f3c1c2cc88753cc0ddb529f5be 100644 (file)
@@ -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");