Skip to content

Commit cf234ba

Browse files
committed
Merge tag 'batadv-net-pullrequest-20240405' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says: ==================== Here is a batman-adv bugfix: - void infinite loop trying to resize local TT, by Sven Eckelmann ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents e9d47b7 + b1f532a commit cf234ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/batman-adv/translation-table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3948,7 +3948,7 @@ void batadv_tt_local_resize_to_mtu(struct net_device *soft_iface)
39483948

39493949
spin_lock_bh(&bat_priv->tt.commit_lock);
39503950

3951-
while (true) {
3951+
while (timeout) {
39523952
table_size = batadv_tt_local_table_transmit_size(bat_priv);
39533953
if (packet_size_max >= table_size)
39543954
break;

0 commit comments

Comments
 (0)