diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-07-20 07:37:27 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-07-20 07:37:27 +0000 |
commit | a9de3a851a83d43f487f9ced2cf0326047aabc5a (patch) | |
tree | 28e438eefb45df17a28d3d862e9d53c1afcc0a16 /target/linux/generic/patches-3.7/612-netfilter_match_reduce_memory_access.patch | |
parent | c8933c968f6f885fe987fe17babdd833a81124a1 (diff) | |
download | mtk-20170518-a9de3a851a83d43f487f9ced2cf0326047aabc5a.zip mtk-20170518-a9de3a851a83d43f487f9ced2cf0326047aabc5a.tar.gz mtk-20170518-a9de3a851a83d43f487f9ced2cf0326047aabc5a.tar.bz2 |
linux: remove 3.7 support
It is not used by any target.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37469
Diffstat (limited to 'target/linux/generic/patches-3.7/612-netfilter_match_reduce_memory_access.patch')
-rw-r--r-- | target/linux/generic/patches-3.7/612-netfilter_match_reduce_memory_access.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/target/linux/generic/patches-3.7/612-netfilter_match_reduce_memory_access.patch b/target/linux/generic/patches-3.7/612-netfilter_match_reduce_memory_access.patch deleted file mode 100644 index f506165..0000000 --- a/target/linux/generic/patches-3.7/612-netfilter_match_reduce_memory_access.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/net/ipv4/netfilter/ip_tables.c -+++ b/net/ipv4/netfilter/ip_tables.c -@@ -84,9 +84,11 @@ ip_packet_match(const struct iphdr *ip, - if (ipinfo->flags & IPT_F_NO_DEF_MATCH) - return true; - -- if (FWINV((ip->saddr&ipinfo->smsk.s_addr) != ipinfo->src.s_addr, -+ if (FWINV(ipinfo->smsk.s_addr && -+ (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->dmsk.s_addr && -+ (ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, - IPT_INV_DSTIP)) { - dprintf("Source or dest mismatch.\n"); - |