mac80211: Check size of a new mesh path table for changes since allocation.
authorJavier Cardona <javier@cozybit.com>
Tue, 3 May 2011 23:57:15 +0000 (16:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 May 2011 18:50:30 +0000 (14:50 -0400)
commit9ca99eeca0cfe839c481f3350988e9ed94188567
tree941425d359c2b43a2a2009155f69f0008306ab2c
parent8f9cb77d6d213c153b0571f494df0c24456aaf47
mac80211: Check size of a new mesh path table for changes since allocation.

Not sure if I'm chasing a ghost here, seems like the
mesh_path->size_order needs to be inside an RCU-read section to prevent
that value from changing between table allocation and copying.  We have
observed crashes that might be caused by this.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c