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>] [day] [month] [year] [list]
Date:	Fri, 23 Mar 2007 23:07:27 GMT
From:	James Chapman <>
Subject: [PATCH 3/5 2.6.21-rc4] l2tp: pppox protocol module load

[PPPOL2TP]: Add the ability to autoload a pppox protocol module.

This patch allows a name "pppox-proto-nnn" to be used in modprobe.conf
to autoload a driver for PPPoX protocol nnn.

Signed-off-by: James Chapman <>

Index: linux-2.6.21-rc4/drivers/net/pppox.c
--- linux-2.6.21-rc4.orig/drivers/net/pppox.c
+++ linux-2.6.21-rc4/drivers/net/pppox.c
@@ -114,6 +114,13 @@ static int pppox_create(struct socket *s
 		goto out;
+	if (!pppox_protos[protocol]) {
+		char buffer[32];
+		sprintf(buffer, "pppox-proto-%d", protocol);
+		request_module(buffer);
+	}
 	if (!pppox_protos[protocol] ||
 		goto out;
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists