Fwd: [smfrench/smb3-kernel] Cifsd fixes (#21)

Steve French smfrench at gmail.com
Fri Jan 29 06:21:06 UTC 2021


Merged into smb3-kernel github tree, and rebased on 5.11-rc5 pending more
testing (will try to kick off more testing this weekend).

---------- Forwarded message ---------
From: Namjae Jeon <notifications at github.com>
Date: Wed, Jan 27, 2021 at 11:25 PM
Subject: [smfrench/smb3-kernel] Cifsd fixes (#21)
To: smfrench/smb3-kernel <smb3-kernel at noreply.github.com>
Cc: Subscribed <subscribed at noreply.github.com>


Description for this pull request:

   - Avoid calling ksmbd_override_fsids recursively.
   - Make xattr format of ksmbd compatible with samba's one.
   - Use netdevice_notifier to configure TCP listeners.
   - Fix a build break with linux-5.11 kernel.

------------------------------
You can view, comment on, or merge this pull request online at:

  https://github.com/smfrench/smb3-kernel/pull/21
Commit Summary

   - cifsd: set supplementary groups when overriding credentials
   - cifsd: avoid calling ksmbd_override_fsids recursively
   - cifsd: Change alloc_iface() return type in transport_tcp.c
   - cifsd: Use netdevice_notifier to configure TCP listeners
   - cifsd: fix a memleak from netdevice_notifier
   - cifsd: make xattr format of ksmbd compatible with samba's one
   - cifsd: macros with complex values should be enclosed in parentheses
   - cifsd: fix build break with linux-5.11 kernel

File Changes

   - *M* fs/cifsd/Makefile
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-13a1445bc5afcf91b3135cfc53c83b546ff6741cd17902937b4030162990820e>
   (2)
   - *M* fs/cifsd/auth.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-381fb3a09da3451eeea4ae3029730c1c92bbed381327f311fd1e153ad96590aa>
   (34)
   - *M* fs/cifsd/auth.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-9ee6f94aa7c97acc87330571f4974c284e3638682d8662419067ac7049bca740>
   (2)
   - *M* fs/cifsd/crypto_ctx.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-731c968a66f944df8c362587d30f683400c61aa40b827b15837afcf329c27c32>
   (8)
   - *M* fs/cifsd/crypto_ctx.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-44f4e94b5520200e7003e947b70571dec5d1f91b0fefe60cc24b84a56d192a5a>
   (4)
   - *M* fs/cifsd/ksmbd_server.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-d7a6189bb902920845f1b16b60b23dc6e5b79619426ce81fec051cd575b2321b>
   (2)
   - *M* fs/cifsd/ksmbd_work.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-45cdbce20e00968980ab5b673840997b7db3ef1ceb01959136146eed28efd756>
   (2)
   - *M* fs/cifsd/ksmbd_work.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-28da00cf886c7c49441c784bace3139cdacc95987b46216d81c512f676fcf54d>
   (5)
   - *A* fs/cifsd/ndr.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-fef259d09b45f87954b831ea54e078f4518f5c4417515873344c0de23921deea>
   (337)
   - *A* fs/cifsd/ndr.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-a96203b39f53284684579596723fe5b0035eb91cf9856de440a84d55bdea5f17>
   (21)
   - *M* fs/cifsd/smb2pdu.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-f7433629c8584faf4172019089efd7cde0f325939807b2b0a6120b2258f74715>
   (294)
   - *M* fs/cifsd/smb_common.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-441aeb0c7e6999addc85a93c33c950ea637323e8d3eb79f19919033308dbb05b>
   (36)
   - *M* fs/cifsd/smbacl.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-3d348fb0b8bd1408076e13cf84a5160305faa8af1d6a69d740fd36036b5b914c>
   (545)
   - *M* fs/cifsd/smbacl.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-a1e66e03b569d8088f2c4266607a2b6c2589ab8813741e3c36210d6e4cd6bcb4>
   (35)
   - *M* fs/cifsd/transport_ipc.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-70b141042a80072dba68db2b1456a183505658908438038fffdc0266c64413cf>
   (4)
   - *M* fs/cifsd/transport_tcp.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-db0aa3a6adeabfd54633c447b9beaf27fbb46f6b1ecd8c72aef4fb72581a04b1>
   (126)
   - *M* fs/cifsd/unicode.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-2bd5af44e29b547dd9fda5b3d24352adacbb8b8080e33241d6641a4f3df69ef0>
   (2)
   - *M* fs/cifsd/vfs.c
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-249654a638ec41b364ee6977b6a0d3ad3f06e5a711f7f53d1d8e743acc276b8b>
   (462)
   - *M* fs/cifsd/vfs.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-ba6b2ac156d80a0d1650305ffe6147b0ab677fa20a5083df7bae9fc299822d35>
   (100)
   - *M* fs/cifsd/vfs_cache.h
   <https://github.com/smfrench/smb3-kernel/pull/21/files#diff-004686895854dcd4630e0991bb4eea14bf87d8056b6351516840ed6435112956>
   (2)

Patch Links:

   - https://github.com/smfrench/smb3-kernel/pull/21.patch
   - https://github.com/smfrench/smb3-kernel/pull/21.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/smfrench/smb3-kernel/pull/21>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSTN5QP7UMTO6WHMMIMZ5TS4DYMNANCNFSM4WWNZCFQ>
.


-- 
Thanks,

Steve


More information about the samba-technical mailing list