diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-24 02:52:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-29 08:24:29 +0200 |
commit | 7a9b2d59507d85569b8a456688ef40cf2ac73e48 (patch) | |
tree | 436533da6f680a0b4b6860e0219a2e594ac16735 /net/ipv4/tcp.c | |
parent | net: u64_stats_sync improvements (diff) | |
download | linux-7a9b2d59507d85569b8a456688ef40cf2ac73e48.tar.xz linux-7a9b2d59507d85569b8a456688ef40cf2ac73e48.zip |
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>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index d5f84bd5a455..4e6ddfbab09e 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -2962,7 +2962,7 @@ struct tcp_md5sig_pool *tcp_get_md5sig_pool(void) 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; |