diff options
author | Roberto Bergantinos Corpas <rbergant@redhat.com> | 2019-10-14 11:59:23 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-10-21 03:19:49 +0300 |
commit | 03d9a9fe3f3aec508e485dd3dcfa1e99933b4bdb (patch) | |
tree | 73bb8587830b41af04ab1e8d3824133cd003ee47 /mm/vmstat.c | |
parent | 553292a6342bc9e5636953ac6e20bccedaacbd1c (diff) | |
download | linux-03d9a9fe3f3aec508e485dd3dcfa1e99933b4bdb.tar.xz |
CIFS: avoid using MID 0xFFFF
According to MS-CIFS specification MID 0xFFFF should not be used by the
CIFS client, but we actually do. Besides, this has proven to cause races
leading to oops between SendReceive2/cifs_demultiplex_thread. On SMB1,
MID is a 2 byte value easy to reach in CurrentMid which may conflict with
an oplock break notification request coming from server
Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions