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

Commit 49a88d18 authored by Eric Dumazet's avatar Eric Dumazet Committed by Patrick McHardy
Browse files

netfilter: ip6tables regression fix



Commit 78454473 (netfilter: iptables: lock free counters) broke
ip6_tables by unconditionally returning ENOMEM in alloc_counters(),

Reported-by: default avatarGraham Murray <graham@gmurray.org.uk>
Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 0221c81b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1033,6 +1033,8 @@ static struct xt_counters *alloc_counters(struct xt_table *table)

	xt_free_table_info(info);

	return counters;

 free_counters:
	vfree(counters);
 nomem: