summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-06-02 16:51:42 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-03 08:02:20 +0200
commit15ccbf685222274f5add1387af58c2a41a95f81e (patch)
treeeea401c0ac2e052cc8c50343353d5c571eca8157 /include/linux/timerqueue_types.h
parentf54c85ed42a1b27a516cf2a4728f5a612b799e07 (diff)
batman-adv: tp_meter: add only finished tp_vars to lists
When the receiver variables (aka "session") are initialized, then they are added to the list of sessions before the timer is set up. A RCU protected reader could therefore find the entry and run mod_setup before batadv_tp_init_recv() finished the timer initialization. The same is true for batadv_tp_start(), which must first initialize the finish_work and the test_length to avoid a similar problem. Cc: stable@kernel.org Fixes: 33a3bb4a3345 ("batman-adv: throughput meter implementation") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions