s3: smbd: named pipe writes are async. Use the same logic as for named pipe transacts...
authorJeremy Allison <jra@samba.org>
Tue, 19 Sep 2023 00:37:44 +0000 (17:37 -0700)
committerJule Anger <janger@samba.org>
Wed, 20 Sep 2023 20:35:15 +0000 (20:35 +0000)
commit721513a219d8b543a3f6a284d05ddc2c99717afe
treeb7b688f0e9aaea8592bcb4a5dbc5cff83fd807de
parentb3a881f89ae089e3ec8e603e96eda5b1388e0cb0
s3: smbd: named pipe writes 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 ea062c3b0d4dbb1f0682f808ac893bf36a6fb194)
source3/smbd/smb2_write.c