mac80211: fix memory accounting with A-MSDU aggregation
authorFelix Fietkau <nbd@nbd.name>
Sat, 16 Mar 2019 17:06:31 +0000 (18:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Mar 2019 10:21:25 +0000 (11:21 +0100)
commiteb9b64e3a9f8483e6e54f4e03b2ae14ae5db2690
tree28ce36b3695447da0e8f247e90c287d3eb021af6
parent08a75a887ee46828b54600f4bb7068d872a5edd5
mac80211: fix memory accounting with A-MSDU aggregation

skb->truesize can change due to memory reallocation or when adding extra
fragments. Adjust fq->memory_usage accordingly

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c