mac80211 : fix unaligned rx skb
authormatthieu castet <castet.matthieu@free.fr>
Thu, 4 Jun 2009 20:16:18 +0000 (22:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:27:53 +0000 (13:27 -0400)
commitdacb6f1d8fa5200efc4e609fe63a750b960993b6
treeaa6be0dbf67ec8b439655441d3bcdae2eb13b320
parentb52a033c2c501a8015df3727a4bd73389ccb1641
mac80211 : fix unaligned rx skb

mac80211 is checking is the skb is aligned on 32 bit boundary.
But it is checking against ethernet header, whereas Linux expect IP
header aligned.  And ethernet ether size is 6*2+2=14, so aligning
ethernet header make IP header unaligned.

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c