]> 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)
commit09d83edeadcdfefe0966fcfe6035035517619955
tree306b688cae1820d65902c31c82b95f4c23e9293b
parent6da6e315694904a5612d31fa14efb71e37681f8b
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