linux/net/batman-adv
Remi Pommarel fff8f17c1a batman-adv: Do not let TT changes list grows indefinitely
When TT changes list is too big to fit in packet due to MTU size, an
empty OGM is sent expected other node to send TT request to get the
changes. The issue is that tt.last_changeset was not built thus the
originator was responding with previous changes to those TT requests
(see batadv_send_my_tt_response). Also the changes list was never
cleaned up effectively never ending growing from this point onwards,
repeatedly sending the same TT response changes over and over, and
creating a new empty OGM every OGM interval expecting for the local
changes to be purged.

When there is more TT changes that can fit in packet, drop all changes,
send empty OGM and wait for TT request so we can respond with a full
table instead.

Fixes: e1bf0c1409 ("batman-adv: tvlv - convert tt data sent within OGMs")
Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Acked-by: Antonio Quartulli <Antonio@mandelbit.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2024-12-05 22:38:26 +01:00
..
bat_algo.c
bat_algo.h
bat_iv_ogm.c batman-adv: Use string choice helper to print booleans 2024-10-06 19:20:26 +02:00
bat_iv_ogm.h
bat_v_elp.c
bat_v_elp.h
bat_v_ogm.c
bat_v_ogm.h
bat_v.c
bat_v.h
bitarray.c
bitarray.h
bridge_loop_avoidance.c batman-adv: Use string choice helper to print booleans 2024-10-06 19:20:26 +02:00
bridge_loop_avoidance.h
distributed-arp-table.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
distributed-arp-table.h
fragmentation.c
fragmentation.h
gateway_client.c
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c
hard-interface.h
hash.c
hash.h
Kconfig
log.c
log.h
main.c
main.h batman-adv: Start new development cycle 2024-10-05 18:23:24 +02:00
Makefile
multicast_forw.c
multicast.c
multicast.h
netlink.c
netlink.h
network-coding.c
network-coding.h
originator.c batman-adv: Don't accept TT entries for out-of-spec VIDs 2024-06-03 10:20:43 +02:00
originator.h
routing.c
routing.h
send.c
send.h
soft-interface.c netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_local 2024-09-03 11:36:43 +02:00
soft-interface.h
tp_meter.c
tp_meter.h
trace.c
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
translation-table.c batman-adv: Do not let TT changes list grows indefinitely 2024-12-05 22:38:26 +01:00
translation-table.h
tvlv.c
tvlv.h
types.h treewide: Fix wrong singular form of jiffies in comments 2024-09-08 20:47:40 +02:00