mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
rpc_server3: Remove dcerpc_ncacn_conn->msg_ctx
This was only used inside rpc_worker_new_client(), a leftover from times where accepting a client was an async process waiting for the struct named_pipe_auth_req_info4. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7d92880fbf
commit
909e309414
@ -39,7 +39,6 @@ struct dcerpc_ncacn_conn {
|
||||
dcerpc_ncacn_termination_fn termination_fn;
|
||||
void *termination_data;
|
||||
|
||||
struct messaging_context *msg_ctx;
|
||||
struct dcesrv_context *dce_ctx;
|
||||
struct dcesrv_endpoint *endpoint;
|
||||
|
||||
|
@ -249,7 +249,6 @@ static void rpc_worker_new_client(
|
||||
goto fail;
|
||||
}
|
||||
*ncacn_conn = (struct dcerpc_ncacn_conn) {
|
||||
.msg_ctx = global_messaging_context(),
|
||||
.dce_ctx = dce_ctx,
|
||||
.endpoint = ep,
|
||||
.sock = sock,
|
||||
@ -390,7 +389,7 @@ static void rpc_worker_new_client(
|
||||
DBG_DEBUG("talloc failed\n");
|
||||
goto fail;
|
||||
}
|
||||
ncacn_conn->p->msg_ctx = ncacn_conn->msg_ctx;
|
||||
ncacn_conn->p->msg_ctx = global_messaging_context();
|
||||
ncacn_conn->p->transport = transport;
|
||||
|
||||
status = dcesrv_endpoint_connect(
|
||||
|
Loading…
x
Reference in New Issue
Block a user