]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: mcast: collect softif listeners from IP lists instead
authorLinus Lüssing <linus.luessing@c0d3.blue>
Sun, 26 May 2019 16:35:49 +0000 (18:35 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 27 Jun 2019 17:25:04 +0000 (19:25 +0200)
commit6a4fd862bcf3f787da631179cfa37bc37ecaabb8
tree44df21f587929a7a3538323cc194a1ff6728cbe9
parent8bbef7d6c7f1aef824b76cefc37872499dc0f642
batman-adv: mcast: collect softif listeners from IP lists instead

Instead of collecting multicast MAC addresses from the netdev hw mc
list collect a node's multicast listeners from the IP lists and convert
those to MAC addresses.

This allows to exclude addresses of specific scope later. On a
multicast MAC address the IP destination scope is not visible anymore.

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>
net/batman-adv/multicast.c