kernel: fix another typo in the netfilter optimization patches
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.39 / 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");