summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-05-31 23:44:57 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-31 23:44:57 -0700
commit5953a303471951a4c2f2127f0b4c74df7ceb7ac2 (patch)
tree13b51217a6f538fe5c72821b1ee65d9bfea72842 /net/ipv4
parentb1faf5666438090a4dc4fceac8502edc7788b7e3 (diff)
parent7489aec8eed4f2f1eb3b4d35763bd3ea30b32ef5 (diff)
downloadop-kernel-dev-5953a303471951a4c2f2127f0b4c74df7ceb7ac2.zip
op-kernel-dev-5953a303471951a4c2f2127f0b4c74df7ceb7ac2.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/ip_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 63958f3..4b6c5ca 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -336,7 +336,7 @@ ipt_do_table(struct sk_buff *skb,
cpu = smp_processor_id();
table_base = private->entries[cpu];
jumpstack = (struct ipt_entry **)private->jumpstack[cpu];
- stackptr = &private->stackptr[cpu];
+ stackptr = per_cpu_ptr(private->stackptr, cpu);
origptr = *stackptr;
e = get_entry(table_base, private->hook_entry[hook]);
OpenPOWER on IntegriCloud