diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2014-01-16 19:54:48 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-18 05:52:22 +0400 |
commit | c196403b79aa241c3fefb3ee5bb328aa7c5cc860 (patch) | |
tree | 830220eb7bf83f185c8c611d7154b86bf4bb2138 /net/ipv4/inet_timewait_sock.c | |
parent | 8c12ec741174668d80d7301c298d1d183f92b937 (diff) | |
download | linux-c196403b79aa241c3fefb3ee5bb328aa7c5cc860.tar.xz |
net: rds: fix per-cpu helper usage
commit ae4b46e9d "net: rds: use this_cpu_* per-cpu helper" broke per-cpu
handling for rds. chpfirst is the result of __this_cpu_read(), so it is
an absolute pointer and not __percpu. Therefore, __this_cpu_write()
should not operate on chpfirst, but rather on cache->percpu->first, just
like __this_cpu_read() did before.
Cc: <stable@vger.kernel.org> # 3.8+
Signed-off-byd Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_timewait_sock.c')
0 files changed, 0 insertions, 0 deletions