diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-05-31 15:03:25 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-03 08:27:17 +0200 |
| commit | 626fd14371614b7a8177f79b357fd323a7b91032 (patch) | |
| tree | 983453b485e3dd4cd2c914cf7a3500f74a3b6e9d /include/linux/timerqueue.h | |
| parent | 5f80c363677c6aea0f2fc9a4fe0b5622abd97674 (diff) | |
batman-adv: tt: directly retrieve wifi flags of net_device
batadv_tt_local_add() tries to retrieve the wifi flags of an interface to
mark the TT entry as wifi client for the AP isolation feature. In the past,
it was necessary to look up the batadv_hard_iface because the wifi_flags
were stored inside this struct. But with the batadv_wifi_net_devices
rhashtable, it is preferred to directly retrieve the wifi_flags instead of
the indirect route via batadv_hard_iface - which at the end only provides
the net_device (which we used to find the batadv_hard_iface).
This will also be essential when the global batadv_hardif_list is removed
and each lookup via batadv_hardif_get_by_netdev() will require the RTNL
lock.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
