]> git.ipfire.org Git - thirdparty/linux.git/commit
batman-adv: tp_meter: consolidate congestion control variables
authorSven Eckelmann <sven@narfation.org>
Tue, 12 May 2026 17:37:05 +0000 (19:37 +0200)
committerSven Eckelmann <sven@narfation.org>
Wed, 3 Jun 2026 06:02:21 +0000 (08:02 +0200)
commit4f117f5626287c0d0efa8fa99b82f264a26bc8f7
treed97acb5a45517249ded9df6596f0fb8815858a24
parenta7eff940247168919bb670f04f3d2e8e8101c1b0
batman-adv: tp_meter: consolidate congestion control variables

Congestion control variables in batadv_tp_sender were scattered across the
struct without clear grouping, making it difficult to reason about which
fields require cwnd_lock (now "cc_lock") protection. These should be
combined in a structure to make it more easily visible which variable
should be read/modified with the cc_lock held.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/tp_meter.c
net/batman-adv/types.h