batman-adv: purge bridge loop avoidance when its disabled
authorSimon Wunderlich <simon@open-mesh.com>
Mon, 9 Nov 2015 15:20:52 +0000 (16:20 +0100)
committerAntonio Quartulli <a@unstable.cc>
Sat, 9 Jan 2016 12:56:00 +0000 (20:56 +0800)
commitd68081a24081f9a1910a41778a8411d924255471
treef2d1e91854fdb7721f2a7e33bb7a4f659d0562ac
parent143d157c9ecfa09ed777bf33635eb27fabce3e0a
batman-adv: purge bridge loop avoidance when its disabled

When bridge loop avoidance is disabled through sysfs, the internal
datastructures are not disabled, but only BLA operations are disabled.
To be sure that they are removed, purge the data immediately. That is
especially useful if a firmwares network state is changed, and the BLA
wait periods should restart on the new network.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/bridge_loop_avoidance.h
net/batman-adv/sysfs.c
This page took 0.024981 seconds and 5 git commands to generate.