summaryrefslogtreecommitdiff
path: root/net/rds/ib_cm.c
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2014-01-16 19:54:48 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-06 23:22:20 +0400
commitc2d828a8e5dcea50926bde6277741aafb4ca4927 (patch)
treebc9b234beb2ab4b3125948e40454ef730dda1549 /net/rds/ib_cm.c
parente9f138ed4e403136240d0ea3dce7167f14adcdba (diff)
downloadlinux-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