crypto: lib/chacha20poly1305 - define empty module exit function
Subsystems (2)
Jason A. Donenfeld
maintainerPATCH 1/1 crypto: lib/chacha20poly1305 - define empty module exit function
With no mod_exit function, users are unable to load the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.
--- lib/crypto/chacha20poly1305.c | 5 +++++ 1 file changed, 5 insertions(+)
lib/crypto/chacha20poly1305.c +5 -0
@@ -362,7 +362,12 @@ static int __init mod_init(void)return 0 ; } +static void __exit mod_exit(void) +{ +} +module_init (mod_init); +module_exit (mod_exit);MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("ChaCha20Poly1305 AEAD construction" );MODULE_AUTHOR ("Jason A. Donenfeld <[email protected]>" );
Signature · 1 line
2.30.0
Quoted 8 lines · Jason A. Donenfeld
With no
mod_exitfunction, users are unable to load the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.Reported-by John Donnelly <[email protected]>Signed-off-by Jason A. Donenfeld <[email protected]>
Quoted 24 lines
--- lib/crypto/chacha20poly1305.c | 5 +++++ 1 file changed, 5 insertions(+)lib/crypto/chacha20poly1305.c +5
-1@@ -362,7 +362,12 @@ static int __init mod_init(void)return 0 ; } +static void __exit mod_exit(void) +{ +} +module_init (mod_init); +module_exit (mod_exit);MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("ChaCha20Poly1305 AEAD construction" );MODULE_AUTHOR ("Jason A. Donenfeld <[email protected]>" ); --2.30.0
Eric Biggers
maintainerQuoted 1 line · Jason A. Donenfeld
users are unable to load the module after use.
It should say "unload".
- Eric
Quoted 12 lines · Jason A. Donenfeld
With no
mod_exitfunction, users are unable to load the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.Reported-by John Donnelly <[email protected]>Signed-off-by Jason A. Donenfeld <[email protected]>---
Hi ,
Verified
Please add
Quoted 23 lines
lib/crypto/chacha20poly1305.c| 5 +++++1 file changed, 5 insertions(+)lib/crypto/chacha20poly1305.c +5
-0@@ -362,7 +362,12 @@ static int __init mod_init(void)return 0 ; } +static void __exit mod_exit(void) +{ +} +module_init (mod_init); +module_exit (mod_exit);MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("ChaCha20Poly1305 AEAD construction" );MODULE_AUTHOR ("Jason A. Donenfeld <[email protected]>" );Signature · 1 line
2.30.0
Jason A. Donenfeld
maintainerPATCH v2 1/1 crypto: lib/chacha20poly1305 - define empty module exit function
In reply to Jason A. DonenfeldWith no mod_exit function, users are unable to unload the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.
---v1->v2:
- Fix typo in commit message.
lib/crypto/chacha20poly1305.c | 5 +++++ 1 file changed, 5 insertions(+)
lib/crypto/chacha20poly1305.c +5 -0
@@ -362,7 +362,12 @@ static int __init mod_init(void)return 0 ; } +static void __exit mod_exit(void) +{ +} +module_init (mod_init); +module_exit (mod_exit);MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("ChaCha20Poly1305 AEAD construction" );MODULE_AUTHOR ("Jason A. Donenfeld <[email protected]>" );
Signature · 1 line
2.30.0
Quoted 12 lines · Jason A. Donenfeld
With no
mod_exitfunction, users are unable to unload the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.Reported-and-tested-by John Donnelly <[email protected]>Acked-by Ard Biesheuvel <[email protected]>Signed-off-by Jason A. Donenfeld <[email protected]>
Thanks!
Would someone be kind enough to remind when this appears and I will apply it to our product ? We like to use published commits when possible.
JD
Quoted 27 lines
---
v1->v2:
- Fix typo in commit message.
lib/crypto/chacha20poly1305.c| 5 +++++1 file changed, 5 insertions(+)lib/crypto/chacha20poly1305.c +5
-0@@ -362,7 +362,12 @@ static int __init mod_init(void)return 0 ; } +static void __exit mod_exit(void) +{ +} +module_init (mod_init); +module_exit (mod_exit);MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("ChaCha20Poly1305 AEAD construction" );MODULE_AUTHOR ("Jason A. Donenfeld <[email protected]>" );Signature · 1 line
2.30.0
Jason A. Donenfeld
maintainerQuoted 14 lines · John Donnelly
Quoted 13 lines · Jason A. Donenfeld
With no
mod_exitfunction, users are unable to unload the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.Reported-and-tested-by John Donnelly <[email protected]>Acked-by Ard Biesheuvel <[email protected]>Signed-off-by Jason A. Donenfeld <[email protected]>
Quoted 5 lines
Thanks!
Would someone be kind enough to remind when this appears and I will apply it to our product ? We like to use published commits when possible.
JD
It'll show up in one of these two repos in a week or two:
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git/
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/
Herbert Xu
maintainerQuoted 8 lines · Jason A. Donenfeld
With no
mod_exitfunction, users are unable to unload the module after use. I'm not aware of any reason why module unloading should be prohibited for this one, so this commit simply adds an empty exit function.Reported-and-tested-by John Donnelly <[email protected]>Acked-by Ard Biesheuvel <[email protected]>Signed-off-by Jason A. Donenfeld <[email protected]>
Quoted 6 lines
---
v1->v2:
- Fix typo in commit message.lib/crypto/chacha20poly1305.c | 5 +++++ 1 file changed, 5 insertions(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt