projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0221c81
)
netfilter: ip6tables regression fix
author
Eric Dumazet
<dada1@cosmosbay.com>
Mon, 6 Apr 2009 15:06:55 +0000
(17:06 +0200)
committer
Patrick McHardy
<kaber@trash.net>
Mon, 6 Apr 2009 15:06:55 +0000
(17:06 +0200)
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>
net/ipv6/netfilter/ip6_tables.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/netfilter/ip6_tables.c
b/net/ipv6/netfilter/ip6_tables.c
index dfed176aed37a05698c62f887e0227d95c1faff4..800ae854247163f8890ea244060835eccc5f0a99 100644
(file)
--- a/
net/ipv6/netfilter/ip6_tables.c
+++ b/
net/ipv6/netfilter/ip6_tables.c
@@
-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: