mac80211: delay skb linearising in rx decryption
authorZhu Yi <yi.zhu@intel.com>
Thu, 8 Apr 2010 07:35:10 +0000 (15:35 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Apr 2010 17:43:09 +0000 (13:43 -0400)
We delay the skb linearising in ieee80211_rx_h_decrypt so that
frames do not require software decryption are not linearized. We
are safe to do this because ieee80211_get_mmie_keyidx() only
requires to touch nonlinear data for management frames, which are
already linearized before getting here.

Cc: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c

Simple merge