• G
    net: rds: fix per-cpu helper usage · c196403b
    Gerald Schaefer 提交于
    commit ae4b46e9 "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: NDavid S. Miller <davem@davemloft.net>
    c196403b
ib_recv.c 30.0 KB