[PATCH][SMB client] fix typo in description of enable_gcm_256 module load parameter

Steve French smfrench at gmail.com
Wed Jun 19 20:02:16 UTC 2024


enable_gcm_256 (which allows the server to require the strongest
encryption) is enabled by default (in the 5.13 kernel and later), but
the modinfo description
incorrectly showed it disabled by default. Fix the typo.

Cc: stable at vger.kernel.org
Fixes: fee742b50289 ("smb3.1.1: enable negotiating stronger encryption
by default")
Signed-off-by: Steve French <stfrench at microsoft.com>
---
 fs/smb/client/cifsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
index bb86fc0641d8..6397fdefd876 100644
--- a/fs/smb/client/cifsfs.c
+++ b/fs/smb/client/cifsfs.c
@@ -134,7 +134,7 @@ module_param(enable_oplocks, bool, 0644);
 MODULE_PARM_DESC(enable_oplocks, "Enable or disable oplocks. Default: y/Y/1");

 module_param(enable_gcm_256, bool, 0644);
-MODULE_PARM_DESC(enable_gcm_256, "Enable requesting strongest (256
bit) GCM encryption. Default: n/N/0");
+MODULE_PARM_DESC(enable_gcm_256, "Enable requesting strongest (256
bit) GCM encryption. Default: y/Y/0");

 module_param(require_gcm_256, bool, 0644);
 MODULE_PARM_DESC(require_gcm_256, "Require strongest (256 bit) GCM
encryption. Default: n/N/0");

-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cifs-fix-typos-in-module-parameter-enable_gcm_256.patch
Type: text/x-patch
Size: 1371 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20240619/877aa53d/0001-cifs-fix-typos-in-module-parameter-enable_gcm_256.bin>


More information about the samba-technical mailing list