mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 19:14:31 +04:00
e100856a6988c35f60487663c3c28d149965eb0b
The state of slave interfaces are handled differently depending on whether
the interface is up or not. All active interfaces (IFF_UP) will transmit
OGMs. But for B.A.T.M.A.N. IV, also non-active interfaces are scheduling
(low TTL) OGMs on active interfaces. The code which setups and schedules
the OGMs must therefore already be called when the interfaces gets added as
slave interface and the transmit function must then check whether it has to
send out the OGM or not on the specific slave interface.
But v2016.3 moved the setup code from the enable function to the activate
function. The latter is called either when the added slave was already up
when batadv_hardif_enable_interface processed the new interface or when a
NETDEV_UP event was received for this slave interfac. As result, each
NETDEV_UP would schedule a new OGM worker for the interface and thus OGMs
would be send a lot more than expected.
Fixes: 549909f89d ("batman-adv: upgrade package to latest release 2016.3")
Reported-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Change feed name in Readme from openwrt-routing to routing because feeds system does not support "-"
This is an OpenWrt package feed containing community maintained routing packages. To use these packages, add the following line to the feeds.conf in the OpenWrt buildroot: src-git routing git://github.com/openwrt-routing/packages.git Update the feed: ./scripts/feeds update routing Activate the package: ./scripts/feeds install -a -p routing The routing packages should now appear in menuconfig.
Description
Languages
Shell
34.9%
Makefile
32.6%
Lua
15.9%
C
14.8%
HTML
1.8%