OSDN Git Service

mac80211: avoid looking up tid_tx/tid_rx from timers
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Oct 2017 11:44:23 +0000 (13:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:16:04 +0000 (12:16 +0100)
commitd559e303b17826a6e4879fc6f12d929562c4061c
tree9465f9f957dace8b293859ee7a3926d9fc34d47d
parent02049ce27ef9d5ec0d74023a1487eb5c9bb38143
mac80211: avoid looking up tid_tx/tid_rx from timers

There's no need to re-lookup the data structures now that
we actually get them immediately with from_timer(), just
avoid that. The struct has to be valid anyway, otherwise
the timer object itself would no longer be valid, and we
can't have a different version of the struct since only a
single session per TID is permitted.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c