mac80211: Only process mesh config header on frames that RA_MATCH
authorJavier Cardona <javier@cozybit.com>
Wed, 24 Oct 2012 19:43:30 +0000 (12:43 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Oct 2012 11:51:29 +0000 (13:51 +0200)
commit555cb715be8ef98b8ec362b23dfc254d432a35b1
tree5749dd089c51771c0d60b7c7018f79abd79a9096
parent9690fb169b433a66485c808e4fc352b8a0f8d866
mac80211: Only process mesh config header on frames that RA_MATCH

Doing otherwise is wrong, and may wreak havoc on the mpp tables,
specially if the frame is encrypted.

Cc: stable@vger.kernel.org
Reported-by: Chaoxing Lin <Chaoxing.Lin@ultra-3eti.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c