]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: fix the use of this_cpu_ptr
authorLi RongQing <roy.qing.li@gmail.com>
Wed, 27 Mar 2013 23:42:41 +0000 (23:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:26:19 +0000 (09:26 -0700)
commit0f6c504f9d65d9febc7b4b03d5a1428757e99e9d
tree804b47761375ec715c0456c88d1d124103ca37d9
parent4a2438e61cf83c3173766d77216b3dba25d65583
net: fix the use of this_cpu_ptr

[ Upstream commit 50eab0503a7579ada512e4968738b7c9737cf36e ]

flush_tasklet is not percpu var, and percpu is percpu var, and
this_cpu_ptr(&info->cache->percpu->flush_tasklet)
is not equal to
&this_cpu_ptr(info->cache->percpu)->flush_tasklet

1f743b076(use this_cpu_ptr per-cpu helper) introduced this bug.

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/flow.c