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:
Родитель
0221c81b1b
Коммит
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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче