Skip to content
Snippets Groups Projects
Commit b69dfb0a authored by Florian Eckert's avatar Florian Eckert Committed by Christian Lamparter
Browse files

kernel/modules: prevent bonding driver to create default bond0 interface


When loading the bonding driver, bonding interface are automatically
created on bonding module load.

> ip a s bond0
> 14: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
> group default qlen 1000
>    link/ether a6:f2:20:64:c1:b9 brd ff:ff:ff:ff:ff:ff

This is not necessary in openwrt as we do not use this created interface.
The netifd creates a bonding interface based on its network configuration
name and configures this over the netifd bonding proto handler.

In order to keep the overview of the interfaces clear, bonding
interfaces should not be created automatically when loading this module,
because they are not used anyway.

Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
parent 8550086c
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ define KernelPackage/bonding ...@@ -48,6 +48,7 @@ define KernelPackage/bonding
KCONFIG:=CONFIG_BONDING KCONFIG:=CONFIG_BONDING
FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.ko FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.ko
AUTOLOAD:=$(call AutoLoad,40,bonding) AUTOLOAD:=$(call AutoLoad,40,bonding)
MODPARAMS.bonding:=max_bonds=0
endef endef
define KernelPackage/bonding/description define KernelPackage/bonding/description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment