android_kernel_motorola_sm6375/net/batman-adv
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Linus Lüssing bcbfc77800 batman-adv: mcast: don't send link-local multicast to mcast routers
commit 938f2e0b57ffe8a6df71e1e177b2978b1b33fe5e upstream.

The addition of routable multicast TX handling introduced a
bug/regression for packets with a link-local multicast destination:
These packets would be sent to all batman-adv nodes with a multicast
router and to all batman-adv nodes with an old version without multicast
router detection.

This even disregards the batman-adv multicast fanout setting, which can
potentially lead to an unwanted, high number of unicast transmissions or
even congestion.

Fixing this by avoiding to send link-local multicast packets to nodes in
the multicast router list.

Fixes: 11d458c1cb ("batman-adv: mcast: apply optimizations for routable packets, too")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-11 15:23:32 +01:00
..
bat_algo.c
bat_algo.h
bat_iv_ogm.c batman-adv: Avoid WARN_ON timing related checks 2021-06-23 14:41:23 +02:00
bat_iv_ogm.h
bat_v.c
bat_v.h
bat_v_elp.c
bat_v_elp.h
bat_v_ogm.c batman-adv: Fix own OGM check in aggregated OGMs 2020-09-09 19:12:23 +02:00
bat_v_ogm.h
bitarray.c
bitarray.h
bridge_loop_avoidance.c net: batman-adv: fix error handling 2021-11-02 19:46:14 +01:00
bridge_loop_avoidance.h batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh 2020-10-01 13:18:19 +02:00
debugfs.c
debugfs.h
distributed-arp-table.c
distributed-arp-table.h
fragmentation.c batman-adv: Don't always reallocate the fragmentation skb head 2021-11-26 10:47:22 +01:00
fragmentation.h
gateway_client.c batman-adv: Avoid uninitialized chaddr when handling DHCP 2020-09-09 19:12:23 +02:00
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c batman-adv: Consider fragmentation for needed_headroom 2021-11-26 10:47:22 +01:00
hard-interface.h
hash.c
hash.h
icmp_socket.c
icmp_socket.h
Kconfig
log.c batman-adv: set .owner to THIS_MODULE 2020-12-02 08:49:50 +01:00
log.h
main.c net: batman-adv: fix error handling 2021-11-02 19:46:14 +01:00
main.h
Makefile
multicast.c batman-adv: mcast: don't send link-local multicast to mcast routers 2022-01-11 15:23:32 +01:00
multicast.h batman-adv: mcast: don't send link-local multicast to mcast routers 2022-01-11 15:23:32 +01:00
netlink.c
netlink.h
network-coding.c net: batman-adv: fix error handling 2021-11-02 19:46:14 +01:00
network-coding.h
originator.c
originator.h
routing.c batman-adv: mcast/TT: fix wrongly dropped or rerouted packets 2020-10-01 13:18:17 +02:00
routing.h
send.c
send.h
soft-interface.c batman-adv: mcast: don't send link-local multicast to mcast routers 2022-01-11 15:23:32 +01:00
soft-interface.h
sysfs.c
sysfs.h
tp_meter.c
tp_meter.h
trace.c
trace.h
translation-table.c net: batman-adv: fix error handling 2021-11-02 19:46:14 +01:00
translation-table.h
tvlv.c
tvlv.h
types.h