Skip to content

smb: client: Better exception handling for SMB3 hash allocations

Markus Elfring kernel-janitors linux-cifs lkml 1 version Applied

Status from this message: merged into cifs-2.6.git for-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3smb: client: Return directly after a failed cifs_alloc_hash() in smb3_crypto_shash_allocate()fs/smb/client/smb2transport.c+1 -10 replies
2/3smb: client: Improve resource release in smb311_crypto_shash_allocate()fs/smb/client/smb2transport.c+4 -30 replies
3/3smb: client: Omit a variable initialisation in smb311_crypto_shash_allocate()fs/smb/client/smb2transport.c+1 -12 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] smb: client: Better exception handling for SMB3 hash allocations

From: Markus Elfring <[email protected]>
Date: Fri, 10 Oct 2025 08:40:08 +0200

Refine a few implementation details for further development considerations.

Markus Elfring (3):
Return directly after a failed cifs_alloc_hash()
in smb3_crypto_shash_allocate()
Improve resource release
in smb311_crypto_shash_allocate()
Omit a variable initialisation
in smb311_crypto_shash_allocate()

 fs/smb/client/smb2transport.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.51.0