commit | 7a9b2d59507d85569b8a456688ef40cf2ac73e48 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Jun 24 00:52:37 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 28 23:24:29 2010 -0700 |
tree | 436533da6f680a0b4b6860e0219a2e594ac16735 | |
parent | b6b3ecc71a0664d44ed8d087d583aee98fbf492a [diff] [blame] |
net: use this_cpu_ptr() use this_cpu_ptr(p) instead of per_cpu_ptr(p, smp_processor_id()) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index d5f84bd..4e6ddfb 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c
@@ -2962,7 +2962,7 @@ spin_unlock(&tcp_md5sig_pool_lock); if (p) - return *per_cpu_ptr(p, smp_processor_id()); + return *this_cpu_ptr(p); local_bh_enable(); return NULL;