batman-adv: mcast: apply optimizations for routable packets, too
authorLinus Lüssing <linus.luessing@c0d3.blue>
Tue, 11 Jun 2019 20:58:41 +0000 (22:58 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 27 Jun 2019 17:25:05 +0000 (19:25 +0200)
commit11d458c1cb9b24ac899b1ec6284676f6b1914305
tree719fcb662f296e85c319fa8aaa81df973bc307e3
parent61caf3d109f5411a7f5b433f1eb73ead7e0789fa
batman-adv: mcast: apply optimizations for routable packets, too

Now that we not only track the presence of multicast listeners but also
multicast routers we can safely apply group-aware multicast-to-unicast
forwarding to packets with a destination address of scope greater than
link-local as well.

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