Signed-off-by: John Kacur Index: linux-2.6.26-rt1/net/core/sock.c =================================================================== --- linux-2.6.26-rt1.orig/net/core/sock.c +++ linux-2.6.26-rt1/net/core/sock.c @@ -1943,7 +1943,7 @@ static DECLARE_BITMAP(proto_inuse_idx, P #ifdef CONFIG_NET_NS void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) { - int cpu = smp_processor_id(); + int cpu = raw_smp_processor_id(); per_cpu_ptr(net->core.inuse, cpu)->val[prot->inuse_idx] += val; } EXPORT_SYMBOL_GPL(sock_prot_inuse_add);