diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2014-10-21 11:08:21 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-22 14:12:51 +0200 |
commit | c123bb7163043bb8f33858cf8e45b01c17dbd171 (patch) | |
tree | 023d053dc015873ad17e6db1bdee08a190c4bba3 /net/ipx | |
parent | 0f9f5e1b83abd2b37c67658e02a6fc9001831fa5 (diff) | |
download | talos-op-linux-c123bb7163043bb8f33858cf8e45b01c17dbd171.tar.gz talos-op-linux-c123bb7163043bb8f33858cf8e45b01c17dbd171.zip |
netfilter: nf_tables: check for NULL in nf_tables_newchain pcpu stats allocation
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>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions