netfilter: ip6tables regression fix
Commit 7845447 (netfilter: iptables: lock free counters) broke ip6_tables by unconditionally returning ENOMEM in alloc_counters(), Reported-by: Graham Murray <graham@gmurray.org.uk> Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
0221c81b1b
commit
49a88d18a1
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user