]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2013 19:13:27 +0000 (15:13 -0400)
commit0fd8d3abcde834f2a379b443e1a8d1e3793d0596
tree1f30b4ab0a76ff4c74a1de2b2cf2426e66bada1c
parentd940f61f9b91ff5c0d9f46e00728462461bfe872
net: fix the use of this_cpu_ptr

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

b4fb9f06d(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>
net/core/flow.c