git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f9f5e1
)
netfilter: nf_tables: check for NULL in nf_tables_newchain pcpu stats allocation
author
Sabrina Dubroca
<sd@queasysnail.net>
Tue, 21 Oct 2014 09:08:21 +0000
(11:08 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Wed, 22 Oct 2014 12:12:51 +0000
(14:12 +0200)
alloc_percpu returns NULL on failure, not a negative error code.
Fixes:
ff3cd7b3c922
("netfilter: nf_tables: refactor chain statistic routines")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c
patch
|
blob
|
history
diff --cc
net/netfilter/nf_tables_api.c
Simple merge