]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix blockack-req processing
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 30 May 2010 12:52:58 +0000 (14:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jun 2010 18:33:02 +0000 (14:33 -0400)
commit02d01e1253eb47bbb924b54b57b89ae48249b8d2
treef4817b7bfbc4011345cb7c163b2e95eaf6470490
parent9157695fa26158ffad7b6977e3457269ee4c05a2
mac80211: fix blockack-req processing

Daniel reported that the paged RX changes had
broken blockack request frame processing due
to using data that wasn't really part of the
skb data.

Fix this using skb_copy_bits() for the needed
data. As a side effect, this adds a check on
processing too short frames, which previously
this code could do.

Reported-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c