Skip to content

smb/server: fix some bugs in preparation for change notify support

ChenXiaoSong linux-cifs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- Patch#01: use WARN_ON_ONCE(1).
- Patch#02: use list_for_each_entry_safe().

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3smb/server: fix signing when a response uses more than one iovfs/smb/server/smb2pdu.c+37 -140 replies
2/3smb/server: cancel async requests when closing connectionfs/smb/server/connection.c+21 -00 replies
3/3smb/server: stop new async work when closing connectionfs/smb/server/smb2pdu.c+15 -94 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] smb/server: fix some bugs in preparation for change notify support

From: ChenXiaoSong <[email protected]>

v2->v3:
- Patch#01: use WARN_ON_ONCE(1).
- Patch#02: use list_for_each_entry_safe().

v2: https://lore.kernel.org/linux-cifs/[email protected]/

I have implemented the ksmbd change notify feature, please see the following link:
https://chenxiaosong.com/lkml/ksmbd-notify

However, to make this feature work properly, some pre-existing bugs need to be fixed first.

ChenXiaoSong (3):
smb/server: fix signing when a response uses more than one iov smb/server: cancel async requests when closing connection smb/server: stop new async work when closing connection

 fs/smb/server/connection.c | 21 +++++++++++
 fs/smb/server/smb2pdu.c    | 75 ++++++++++++++++++++++++++------------
 2 files changed, 73 insertions(+), 23 deletions(-)
Signature · 1 line
2.54.0