s3: smbd: named pipe reads are async. Use the same logic as for named pipe transacts...
commit68b8a5c438d296a30f37cc180f9699d49fef70b4
authorJeremy Allison <jra@samba.org>
Tue, 19 Sep 2023 00:09:00 +0000 (18 17:09 -0700)
committerJule Anger <janger@samba.org>
Fri, 22 Sep 2023 19:34:15 +0000 (22 19:34 +0000)
tree5352b793b7d334eab5e640c5a87796457357eb9a
parent3ac075735c191bb69c2d841a44c6e9c3bf75d3bf
s3: smbd: named pipe reads are async. Use the same logic as for named pipe transacts to avoid crashes on shutdown.

Noticed by Metze.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15423

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 3f32bf887d4425655e81da0b2234cbca3b1d56e6)
source3/smbd/smb2_read.c