]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove pointless mesh path timer RCU code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 May 2011 13:03:32 +0000 (15:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 May 2011 18:10:52 +0000 (14:10 -0400)
commit23784fda7c095251b9f0cb97a9042482eebac3e1
tree1b449e884faf3e23a0ca6812861c16faa9067c1a
parent08b4828e6d9792ddad4df5652815fe88a3072ca0
mac80211: remove pointless mesh path timer RCU code

The code here to RCU-dereference a pointer that's
on the stack is totally pointless, RCU isn't magic
(like say Java's weak references are), so the code
can't work like whoever wrote it thought it might.

Remove it so readers don't get confused. Note that
it seems that a bug is there anyway: I don't see
any code that cancels the timer when a mesh path
struct is destroyed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c