summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-05-28 21:14:39 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-03 08:02:19 +0200
commitfebfb1b86224489535312296ecfa3d4bf467f339 (patch)
treea070c82e7741b8a426b56dc1a4dd39598efa5fa9 /include/linux/timerqueue_types.h
parentb2b68b32a715e0328662801576974aa37b942b00 (diff)
batman-adv: tp_meter: initialize dec_cwnd explicitly
When batadv_tp_update_cwnd() is called, dec_cwnd is increased. But dec_cwnd is only initialixed (to 0) when a duplicate Ack was received or when cwnd is below the ss_threshold. Just initialize the cwnd during the initialization to avoid any potential access of uninitialized data. 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