]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix accounting of the tailroom-needed counter
authorIdo Yariv <ido@wizery.com>
Tue, 29 Jul 2014 12:38:53 +0000 (15:38 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 26 Aug 2014 09:15:59 +0000 (11:15 +0200)
commita14d3ca63a41ce409fbdfb0ec1c8e14e09688bc4
tree306b688cae1820d65902c31c82b95f4c23e9293b
parent7bcf79d0f23793e616cc94623d869657a8c352dc
mac80211: Fix accounting of the tailroom-needed counter

When hw acceleration is enabled, the GENERATE_IV or PUT_IV_SPACE flags
will only require headroom space. Consequently, the tailroom-needed
counter can safely be decremented.

Signed-off-by: Ido Yariv <idox.yariv@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/key.c