1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:smb2_server: fix calculation of the next bitmap_offset

metze
This commit is contained in:
Stefan Metzmacher 2012-06-25 23:39:37 +02:00
parent d1ee774ed0
commit bd6d415cae

View File

@ -374,7 +374,7 @@ static bool smb2_validate_message_id(struct smbd_server_connection *sconn,
bitmap_offset));
bitmap_clear(credits_bm, bitmap_offset);
sconn->smb2.seqnum_low += 1;
bitmap_offset = (bitmap_offset + 1) %
bitmap_offset = sconn->smb2.seqnum_low %
sconn->smb2.max_credits;
}
}