setup s->parent = parent
authorStefan Metzmacher <metze@samba.org>
Sat, 1 Oct 2016 09:23:17 +0000 (11:23 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 Jun 2018 12:35:15 +0000 (14:35 +0200)
source3/smbd/server.c

index 0646ae6bacb010e72cb6f5276ce1fd2fc4aa8094..e4780f93882e1769c45d4563c278a2d3e2f584c6 100644 (file)
@@ -1499,6 +1499,7 @@ static bool smb_direct_client_start(struct smbd_parent_context *parent)
        if (s == NULL) {
                return false;
        }
+       s->parent = parent;
 
        result = smb_direct_bind(parent->smbd_ctr_socket, NULL);
        if (result != 0) {