mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
rpc_server3: Remove dcerpc_ncacn_conn->dce_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
909e309414
commit
0d315ddbfe
@ -39,7 +39,6 @@ struct dcerpc_ncacn_conn {
|
||||
dcerpc_ncacn_termination_fn termination_fn;
|
||||
void *termination_data;
|
||||
|
||||
struct dcesrv_context *dce_ctx;
|
||||
struct dcesrv_endpoint *endpoint;
|
||||
|
||||
struct tstream_context *tstream;
|
||||
|
@ -249,7 +249,6 @@ static void rpc_worker_new_client(
|
||||
goto fail;
|
||||
}
|
||||
*ncacn_conn = (struct dcerpc_ncacn_conn) {
|
||||
.dce_ctx = dce_ctx,
|
||||
.endpoint = ep,
|
||||
.sock = sock,
|
||||
.termination_fn = rpc_worker_connection_terminated,
|
||||
@ -393,7 +392,7 @@ static void rpc_worker_new_client(
|
||||
ncacn_conn->p->transport = transport;
|
||||
|
||||
status = dcesrv_endpoint_connect(
|
||||
ncacn_conn->dce_ctx,
|
||||
dce_ctx,
|
||||
ncacn_conn,
|
||||
ep,
|
||||
ncacn_conn->session_info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user