s3:smbd: convert smbd_smb2_send_break() into async smbd_smb2_break_send/recv()
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Jun 2020 16:05:39 +0000 (18:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2020 15:54:40 +0000 (15:54 +0000)
commit4230bcdf7e068423c291df37d3dbf736b4cb92a2
tree5f7c894bf26abb4b0a49e583b9a2e50a2444e276
parent37c52c2d49830940397a164864044dbd1f5d6c6a
s3:smbd: convert smbd_smb2_send_break() into async smbd_smb2_break_send/recv()

This will make it possible to detect errors in order to retry sending
the break on another connection.

For now we always report NT_STATUS_OK, when we delivered the break
notification to the kernel send queue. But that will change in
the following commits.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/smbd/smb2_server.c