]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: check if mesh frame is in RMC after decrypt
authorThomas Pedersen <thomas@cozybit.com>
Thu, 1 Sep 2011 19:32:14 +0000 (12:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:16 +0000 (13:56 -0400)
commit696b996324b9d2aa89ab41a5c18d0a2504f97cea
tree9964525f86c7d6deb9c55a1ebbc8e4f2871a8e60
parentb9c9e2973535bb7f8467a8c9a7a77e5304ab2ddd
mac80211: check if mesh frame is in RMC after decrypt

To check whether a frame is in the RMC, we need access to the mesh
header.  This header is encrypted in encrypted data frames, so make this
check after the frame has been decrypted.

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