summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorZihan Xi <zihanx@nebusec.ai>2026-09-16 15:29:27 +0000
committerPaulo Alcantara <pc@manguebit.org>2026-09-21 21:40:17 -0300
commitd2ff5fb93ea83034025850266b5eed391f96b825 (patch)
treef8532b6c0bfad0dd53c1da590b59d7c3b2d3d949 /tools/lib/python/kdoc/python_version.py
parent566820af017e81497fb5e9d3ad6e7ffe2828bc8b (diff)
downloadlinux-next-d2ff5fb93ea83034025850266b5eed391f96b825.tar.gz
linux-next-d2ff5fb93ea83034025850266b5eed391f96b825.zip
smb: client: clean up failed cached directory opens
open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If the CREATE succeeds but a later command returns an error, the function must retain the CREATE FID so common cleanup can issue SMB2_close(). It also must not treat a response error as a valid CREATE. Validate the CREATE response before using its fields, record the FIDs, and mark the handle open before handling errors from later compound commands. Move the -EREMCHG reconnect handling before response validation so a missing response does not hide the reconnect request. Count the handle when it is marked open; confirmed close responses decrement the counter, while existing close retry behavior remains best effort on transport failures. Fixes: b0f6df737a1c ("cifs: cache FILE_ALL_INFO for the shared root handle") Cc: stable@vger.kernel.org Reported-by: Vega <vega@nebusec.ai> Assisted-by: LLM Co-developed-by: Luxing Yin <root@tr0jan.top> Signed-off-by: Luxing Yin <root@tr0jan.top> Signed-off-by: Zihan Xi <zihanx@nebusec.ai> Tested-by: Frank Sorenson <sorenson@redhat.com> Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions