From: Sabrina Dubroca Date: Tue, 21 Oct 2014 09:08:21 +0000 (+0200) Subject: netfilter: nf_tables: check for NULL in nf_tables_newchain pcpu stats allocation X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~34^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c123bb7163043bb8f33858cf8e45b01c17dbd171;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed