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)
commit50eab0503a7579ada512e4968738b7c9737cf36e
tree1f30b4ab0a76ff4c74a1de2b2cf2426e66bada1c
parent1bc7db16782c2a581fb4d53ca853631050f31611
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

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