kernel-hacking-2024-linux-s.../net/batman-adv
Linus Lüssing 7caf69fb9c batman-adv: Fix symmetry check / route flapping in multi interface setups
If receiving an OGM from a neighbor other than the currently selected
and if it has the same TQ then we are supposed to switch if this
neighbor provides a more symmetric link than the currently selected one.

However this symmetry check currently is broken if the interface of the
neighbor we received the OGM from and the one of the currently selected
neighbor differ: We are currently trying to determine the symmetry of the
link towards the selected router via the link we received the OGM from
instead of just checking via the link towards the currently selected
router.

This leads to way more route switches than necessary and can lead to
permanent route flapping in many common multi interface setups.

This patch fixes this issue by using the right interface for this
symmetry check.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
2012-09-23 23:12:49 +02:00
..
bat_algo.h
bat_iv_ogm.c batman-adv: Fix symmetry check / route flapping in multi interface setups 2012-09-23 23:12:49 +02:00
bitarray.c
bitarray.h batman-adv: make batadv_test_bit() return 0 or 1 only 2012-09-19 15:49:53 -04:00
bridge_loop_avoidance.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
bridge_loop_avoidance.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
debugfs.c
debugfs.h
gateway_client.c batman-adv: select an internet gateway if none was chosen 2012-08-06 13:23:46 -07:00
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c
hard-interface.h
hash.c
hash.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
icmp_socket.c
icmp_socket.h
Kconfig
main.c
main.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
Makefile
originator.c
originator.h
packet.h
ring_buffer.c
ring_buffer.h
routing.c
routing.h
send.c
send.h
soft-interface.c batman-adv: Fix change mac address of soft iface. 2012-09-23 23:12:48 +02:00
soft-interface.h
sysfs.c
sysfs.h
translation-table.c batman-adv: Fix mem leak in the batadv_tt_local_event() function 2012-08-08 16:04:04 -07:00
translation-table.h
types.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
unicast.c
unicast.h
vis.c
vis.h