diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2020-01-22 22:03:56 +0000 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2020-03-13 09:46:55 +0000 |
commit | 5c2b130ec9b011691771cad2dab9994a66836a1a (patch) | |
tree | 0be218c289bb4302b056738eb31a6b910017798f /package | |
parent | 763de7bd51f38f0b9e155bd6160d552d9a0fd2ae (diff) | |
download | upstream-5c2b130ec9b011691771cad2dab9994a66836a1a.tar.gz upstream-5c2b130ec9b011691771cad2dab9994a66836a1a.tar.bz2 upstream-5c2b130ec9b011691771cad2dab9994a66836a1a.zip |
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 5fae027417..4b42123339 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -927,6 +927,7 @@ define KernelPackage/ifb CONFIG_NET_CLS=y FILES:=$(LINUX_DIR)/drivers/net/ifb.ko AUTOLOAD:=$(call AutoLoad,34,ifb) + MODPARAMS.ifb:=numifbs=0 endef define KernelPackage/ifb/description |