mac80211: clean up skb reallocation code
commit23c0752a25d73ccc4547700e8a57d5ae2f2edf56
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 29 May 2008 08:38:53 +0000 (29 10:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:14 +0000 (3 15:00 -0400)
tree225631645bf52c07931adc7aeb766344b05be7eb
parentf622360bce6facb05fdce4bce5ee4beb2432222d
mac80211: clean up skb reallocation code

This cleans up the skb reallocation code to avoid problems with
skb->truesize, not resize an skb twice for a single output path
because we didn't expand it enough during the first copy and also
removes the code to further expand it during crypto operations
which will no longer be necessary.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c
net/mac80211/wep.c
net/mac80211/wpa.c