diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-24 02:29:37 -0700 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-11-03 11:56:09 +0200 |
commit | 8cef5344b5f24883c97180c15e17b35d46fc4f37 (patch) | |
tree | 117edd0455dba8a0329c5f114334b9081ab3ad1b /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 309c4848c0481f71f4cb20290e6f5bded1e54131 (diff) |
iwlwifi: mvm: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
The RCU lifetime on baid_data is unclear, so this adds a direct copy of the
rcu_ptr passed to the original callback. It may be possible to improve this
to just use baid_data->mvm->baid_map[baid_data->baid] instead.
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: Intel Linux Wireless <linuxwifi@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Sara Sharon <sara.sharon@intel.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions