]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: dont adjust truesize
authorJohannes Berg <johannes.berg@intel.com>
Fri, 7 Oct 2011 12:55:39 +0000 (14:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:20 +0000 (16:41 -0400)
commit10e134c9839b055a5bac550100e58233c9b00e53
treed69c7684f6040ee2392a9158bc6d5c346446dece
parent9aefad35827c21edbdff454c2b3b82366a4d6f67
mac80211: dont adjust truesize

There's no need to adjust truesize.

The history of this was that we always ran into
skb_truesize_bug (via skb_truesize_check) which
has since been removed in commit dec115b035686.
skb_truesize_check() checked that truesize  was
bigger or equal to the actual allocation, which
would trigger in mac80211 due to header adding.
The check no longer exists and we shouldn't be
messing with the truesize anwyay.

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