netfilter: connlimit: fix UP build
authorFlorian Westphal <fw@strlen.de>
Mon, 17 Mar 2014 21:27:50 +0000 (22:27 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Apr 2014 21:52:07 +0000 (23:52 +0200)
commite5ac6eafba887821044c65b6fe59d9eb8b7c7f61
tree5652b8428bfeeefccfc7e9810922f19b4e58dcf4
parente33d0ba8047b049c9262fdb1fcafb93cb52ceceb
netfilter: connlimit: fix UP build

cannot use ARRAY_SIZE() if spinlock_t is empty struct.

Fixes: 1442e7507dd597 ("netfilter: connlimit: use keyed locks")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_connlimit.c