commit | d5d20912d33f13766902a27087323f5c94e831c8 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Mar 17 13:37:53 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 17 17:14:45 2014 -0400 |
tree | 00d56c129d57261d10590a6a5cd36ba792a9dbcc | |
parent | e73087afc52b07873dd8d180dbed031b63b150cc [diff] |
netfilter: conntrack: Fix UP builds ARRAY_SIZE(nf_conntrack_locks) is undefined if spinlock_t is an empty structure. Replace it by CONNTRACK_LOCKS Fixes: 93bb0ceb75be ("netfilter: conntrack: remove central spinlock nf_conntrack_lock") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Cc: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>