lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240111193451.48833-1-stephen@networkplumber.org>
Date: Thu, 11 Jan 2024 11:34:44 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2] man/tc-mirred: don't recommend modprobe

Use ip link add instead of explicit modprobe.
Kernel will do correct module loading if necessary.

Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
---
 man/man8/tc-mirred.8 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/man/man8/tc-mirred.8 b/man/man8/tc-mirred.8
index 38833b452d92..2d9795b1b16f 100644
--- a/man/man8/tc-mirred.8
+++ b/man/man8/tc-mirred.8
@@ -84,8 +84,7 @@ interface, it is possible to send ingress traffic through an instance of
 
 .RS
 .EX
-# modprobe ifb
-# ip link set ifb0 up
+# ip link add dev ifb0 type ifb
 # tc qdisc add dev ifb0 root sfq
 # tc qdisc add dev eth0 handle ffff: ingress
 # tc filter add dev eth0 parent ffff: u32 \\
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ