]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50fdcb64364a2a4971fd397953a30e5a8390965c
treeaa6be0dbf67ec8b439655441d3bcdae2eb13b320
parent67c62d06915d9be48f4030ade33b9766373b7d0d
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