Skip to contentSkip to conversation

ppp: mppe: Add softdep to arc4

PATCH Applied Takashi Iwai 2 participants 2 messages Jun 19, 2019 – Jun 22, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppp: mppe: Add softdep to arc4

The arc4 crypto is mandatory at ppp_mppe probe time, so let's put a softdep line, so that the corresponding module gets prepared gracefully. Without this, a simple inclusion to initrd via dracut failed due to the missing dependency, for example.

---
 drivers/net/ppp/ppp_mppe.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ppp/ppp_mppe.c +1 -0
index ff61dd8748de..66c8e65f6872 100644
@@ -63,6 +63,7 @@ MODULE_AUTHOR("Frank Cusack <[email protected]>");
 MODULE_DESCRIPTION("Point-to-Point Protocol Microsoft Point-to-Point Encryption support");
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_ALIAS("ppp-compress-" __stringify(CI_MPPE));
+MODULE_SOFTDEP("pre: arc4");
 MODULE_VERSION("1.0.2");
 
 static unsigned int
Signature · 1 line
2.16.4
maintainer Applied
#1 lore raw

From: Takashi Iwai <[email protected]>
Date: Wed, 19 Jun 2019 15:34:07 +0200

Quoted 6 lines

The arc4 crypto is mandatory at ppp_mppe probe time, so let's put a softdep line, so that the corresponding module gets prepared gracefully. Without this, a simple inclusion to initrd via dracut failed due to the missing dependency, for example.

Applied.