"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "source3/smbd/smb2_server.c" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

smb2_server.c  (samba-4.12.3):smb2_server.c  (samba-4.12.5)
skipping to change at line 1109 skipping to change at line 1109
ok = smb2_setup_nbt_length(req->out.vector, req->out.vector_count); ok = smb2_setup_nbt_length(req->out.vector, req->out.vector_count);
if (!ok) { if (!ok) {
return NT_STATUS_INVALID_PARAMETER_MIX; return NT_STATUS_INVALID_PARAMETER_MIX;
} }
DLIST_ADD_END(xconn->smb2.requests, req); DLIST_ADD_END(xconn->smb2.requests, req);
return NT_STATUS_OK; return NT_STATUS_OK;
} }
size_t smbXsrv_client_valid_connections(struct smbXsrv_client *client)
{
struct smbXsrv_connection *xconn = NULL;
size_t num_ok = 0;
for (xconn = client->connections; xconn != NULL; xconn = xconn->next) {
if (NT_STATUS_IS_OK(xconn->transport.status)) {
num_ok++;
}
}
return num_ok;
}
void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn, void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn,
const char *reason, const char *reason,
const char *location) const char *location)
{ {
struct smbXsrv_client *client = xconn->client; struct smbXsrv_client *client = xconn->client;
DEBUG(10,("smbd_server_connection_terminate_ex: conn[%s] reason[%s] at %s \n", DEBUG(10,("smbd_server_connection_terminate_ex: conn[%s] reason[%s] at %s \n",
smbXsrv_connection_dbg(xconn), reason, location)); smbXsrv_connection_dbg(xconn), reason, location));
if (client->connections->next != NULL) { if (client->connections->next != NULL) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)