This reverts commit
6114f9545fa856717220658e87f2a60f6767b7f4.
See the discussion in
https://lists.samba.org/archive/samba-technical/2018-December/131731.html
for the reasoning behind this revert.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
const struct tsocket_address *remote_address;
const char *remote_hostname;
struct tevent_context *ev_ctx;
- struct tevent_context *raw_ev_ctx;
struct messaging_context *msg_ctx;
struct notify_context *notify_ctx;
bool using_smb2;
return NT_STATUS_NO_MEMORY;
}
- sconn->raw_ev_ctx = samba_tevent_context_init(sconn);
- if (sconn->raw_ev_ctx == NULL) {
+ sconn->ev_ctx = samba_tevent_context_init(sconn);
+ if (sconn->ev_ctx == NULL) {
TALLOC_FREE(sconn);
return NT_STATUS_NO_MEMORY;
}
- sconn->ev_ctx = sconn->raw_ev_ctx;
sconn->msg_ctx = msg;
conn = conn_new(sconn);
sconn->client = client;
sconn->ev_ctx = ev_ctx;
- sconn->raw_ev_ctx = ev_ctx;
sconn->msg_ctx = msg_ctx;
ret = pthreadpool_tevent_init(sconn, lp_aio_max_threads(),