]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd65e1d766f70fa4bbad82949fe98b049a69198c7
tree941425d359c2b43a2a2009155f69f0008306ab2c
parent7cc8e77ba649cd86292abfd9c4a140142300d412
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