Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c64562ea authored by Jozsef Kadlecsik's avatar Jozsef Kadlecsik Committed by Patrick McHardy
Browse files

netfilter: ipset: adding ranges to hash types with timeout could still fail, fixed



The patch "Fix adding ranges to hash types" had got a mistypeing
in the timeout variant of the hash types, which actually made
the patch ineffective. Fixed!

Signed-off-by: default avatarJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent d0d9e0a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -835,7 +835,7 @@ type_pf_tadd(struct ip_set *set, void *value, u32 timeout, u32 flags)
	}
	ret = type_pf_elem_tadd(n, d, timeout);
	if (ret != 0) {
		if (ret == -EEXIST)
		if (ret == -EAGAIN)
			type_pf_data_next(h, d);
		goto out;
	}