mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
kernel: ifb: set default numifbs to 0
By default on module load, 2 ifb interfaces are created and typically remain unused, cluttering 'ip link' outputs and generally confusing things. sqm-scripts for example, creates its own ifb interface/s instead of using these 2 defaults ifbs. Tell the ifb module to not create any default ifbs on load via the numifbs parameter. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
This commit is contained in:
parent
763de7bd51
commit
5c2b130ec9
@ -927,6 +927,7 @@ define KernelPackage/ifb
|
|||||||
CONFIG_NET_CLS=y
|
CONFIG_NET_CLS=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,34,ifb)
|
AUTOLOAD:=$(call AutoLoad,34,ifb)
|
||||||
|
MODPARAMS.ifb:=numifbs=0
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ifb/description
|
define KernelPackage/ifb/description
|
||||||
|
Loading…
Reference in New Issue
Block a user