Commit cf234bac authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents e9d47b7b b1f532a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3948,7 +3948,7 @@ void batadv_tt_local_resize_to_mtu(struct net_device *soft_iface)

	spin_lock_bh(&bat_priv->tt.commit_lock);

	while (true) {
	while (timeout) {
		table_size = batadv_tt_local_table_transmit_size(bat_priv);
		if (packet_size_max >= table_size)
			break;