diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-01-22 14:00:27 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-11 08:29:00 -0400 |
commit | 7a5cc24277b57ce38eb0afa6634b71d4d5cc671e (patch) | |
tree | 80c25d21e96381269087cf628a4756101c6029c8 /net/batman-adv/Kconfig | |
parent | 38ef3d1d919e6a47c3e0d38b3d788aa468a7ede8 (diff) |
batman-adv: add bridge loop avoidance compile option
The define CONFIG_BATMAN_ADV_BLA switches the bridge loop avoidance
on - skip it, and the bridge loop avoidance is not compiled in.
This is useful if binary size should be saved or the feature is
not needed.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/Kconfig')
-rw-r--r-- | net/batman-adv/Kconfig | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig index 6ff977c1f3bc..53f5244e28f8 100644 --- a/net/batman-adv/Kconfig +++ b/net/batman-adv/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | config BATMAN_ADV | 5 | config BATMAN_ADV |
6 | tristate "B.A.T.M.A.N. Advanced Meshing Protocol" | 6 | tristate "B.A.T.M.A.N. Advanced Meshing Protocol" |
7 | depends on NET && INET | 7 | depends on NET |
8 | select CRC16 | 8 | select CRC16 |
9 | default n | 9 | default n |
10 | help | 10 | help |
@@ -14,6 +14,16 @@ config BATMAN_ADV | |||
14 | http://www.open-mesh.org/ for more information and user space | 14 | http://www.open-mesh.org/ for more information and user space |
15 | tools. | 15 | tools. |
16 | 16 | ||
17 | config BATMAN_ADV_BLA | ||
18 | bool "Bridge Loop Avoidance" | ||
19 | depends on BATMAN_ADV && INET | ||
20 | default y | ||
21 | help | ||
22 | This option enables BLA (Bridge Loop Avoidance), a mechanism | ||
23 | to avoid Ethernet frames looping when mesh nodes are connected | ||
24 | to both the same LAN and the same mesh. If you will never use | ||
25 | more than one mesh node in the same LAN, you can safely remove | ||
26 | this feature and save some space. | ||
17 | 27 | ||
18 | config BATMAN_ADV_DEBUG | 28 | config BATMAN_ADV_DEBUG |
19 | bool "B.A.T.M.A.N. debugging" | 29 | bool "B.A.T.M.A.N. debugging" |