From: Gerald Schaefer Date: Thu, 16 Jan 2014 15:54:48 +0000 (+0100) Subject: net: rds: fix per-cpu helper usage X-Git-Tag: v3.13~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c196403b79aa241c3fefb3ee5bb328aa7c5cc860;p=pandora-kernel.git 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: # 3.8+ Signed-off-byd Gerald Schaefer Signed-off-by: David S. Miller --- Reading git-diff-tree failed