ppp: mppe: Add softdep to arc4
authorTakashi Iwai <tiwai@suse.de>
Wed, 19 Jun 2019 13:34:07 +0000 (15:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Jun 2019 13:44:23 +0000 (09:44 -0400)
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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/ppp_mppe.c

index ff61dd8748dea206af81ec419204240511b06d78..66c8e65f68720c5a6b30277b872b88dc342991f7 100644 (file)
@@ -63,6 +63,7 @@ MODULE_AUTHOR("Frank Cusack <fcusack@fcusack.com>");
 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