From c463a1188b9aaec1e09dfe80779173c0a015d70c Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Fri, 1 Oct 2010 22:10:38 +0200 Subject: New version 4.4 released: kernel: - The ipporthash, ipportiphash and ipportnethash set types did not work with mixed "src" and "dst" destination parameters of the "set" and "SET" iptables match and target (reported by Dash Four) --- kernel/ip_set_ipportiphash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/ip_set_ipportiphash.c') diff --git a/kernel/ip_set_ipportiphash.c b/kernel/ip_set_ipportiphash.c index 8b8f2a2..c80087f 100644 --- a/kernel/ip_set_ipportiphash.c +++ b/kernel/ip_set_ipportiphash.c @@ -72,8 +72,8 @@ ipportiphash_test(struct ip_set *set, if (flags[2] == 0) \ return 0; \ \ - port = get_port(skb, flags++); \ - ip1 = ipaddr(skb, flags++); \ + port = get_port(skb, ++flags); \ + ip1 = ipaddr(skb, ++flags); \ \ if (port == INVALID_PORT) \ return 0; -- cgit v1.2.3