mac80211: make align adjustment code support paged SKB
authorZhu Yi <yi.zhu@intel.com>
Wed, 28 Oct 2009 20:13:52 +0000 (13:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Oct 2009 20:50:38 +0000 (16:50 -0400)
commit8ce0b5892460c670b71b7a0bf96549f5e7a63d6c
tree28227099d2113da0f2f4b26969f601261a0b7c99
parentddcd4c08188dc512ceb08bcc3f4f830c2dbfb5ce
mac80211: make align adjustment code support paged SKB

This fixed a BUG_ON in __skb_trim() when paged rx is used in
iwlwifi driver. Yes, the whole mac80211 stack doesn't support
paged SKB yet. But let's start the work slowly from small
code snippets.

Reported-and-tested-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c