summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_ipportiphash.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-10-01 22:10:38 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-10-01 22:10:38 +0200
commitc463a1188b9aaec1e09dfe80779173c0a015d70c (patch)
tree2116c73c7cf25763f5318a1a6b434cf5dedfe9de /kernel/ip_set_ipportiphash.c
parent0af0e2af9e425aeab35bd4111d1f9ced47c65279 (diff)
New version 4.4 released:v4.4
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)
Diffstat (limited to 'kernel/ip_set_ipportiphash.c')
-rw-r--r--kernel/ip_set_ipportiphash.c4
1 files changed, 2 insertions, 2 deletions
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;