diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2014-01-16 19:54:48 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-06 23:22:20 +0400 |
commit | c2d828a8e5dcea50926bde6277741aafb4ca4927 (patch) | |
tree | bc9b234beb2ab4b3125948e40454ef730dda1549 /net/rds/ib_cm.c | |
parent | e9f138ed4e403136240d0ea3dce7167f14adcdba (diff) | |
download | linux-c2d828a8e5dcea50926bde6277741aafb4ca4927.tar.xz |
net: rds: fix per-cpu helper usage
[ Upstream commit c196403b79aa241c3fefb3ee5bb328aa7c5cc860 ]
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.
Signed-off-byd Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rds/ib_cm.c')
0 files changed, 0 insertions, 0 deletions