diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-08-07 21:17:18 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-08-07 21:17:18 +0000 |
commit | 3184365fbbb7121918b49d3b4baac475e4f39009 (patch) | |
tree | 1a481cc4264d616bbb15ec7b4370357bf6aace2d /target/linux/generic | |
parent | 61d9ee9aa74dbfcd85f4d602658ad2c1438d3b84 (diff) |
kernel: fix another typo in the netfilter optimization patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27927 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/patches-2.6.39/612-netfilter_match_reduce_memory_access.patch | 2 | ||||
-rw-r--r-- | target/linux/generic/patches-3.0/612-netfilter_match_reduce_memory_access.patch | 2 |
2 files changed, 2 insertions, 2 deletions
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 a36a1728d..7c50ad747 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 817b37efd..f506165e1 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"); |