diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-03-26 09:42:59 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-03-26 09:42:59 +0000 |
commit | af69bf56b6810419879f1aecad8160697877a8c6 (patch) | |
tree | 3904731ce5bfb9f3c9f44ef4aa3350114ee4a46e /target/linux/generic/patches-3.19/612-netfilter_match_reduce_memory_access.patch | |
parent | 6c0d6a3cb32b0b366b6c28aa7735f00a44226edd (diff) | |
download | upstream-af69bf56b6810419879f1aecad8160697877a8c6.tar.gz upstream-af69bf56b6810419879f1aecad8160697877a8c6.tar.bz2 upstream-af69bf56b6810419879f1aecad8160697877a8c6.zip |
drop 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45002
Diffstat (limited to 'target/linux/generic/patches-3.19/612-netfilter_match_reduce_memory_access.patch')
-rw-r--r-- | target/linux/generic/patches-3.19/612-netfilter_match_reduce_memory_access.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/target/linux/generic/patches-3.19/612-netfilter_match_reduce_memory_access.patch b/target/linux/generic/patches-3.19/612-netfilter_match_reduce_memory_access.patch deleted file mode 100644 index 72172d8bb4..0000000000 --- a/target/linux/generic/patches-3.19/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 -@@ -85,9 +85,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"); - |