summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRonnie Sahlberg2019-05-01 04:03:41 +0200
committerSteve French2019-05-08 06:24:55 +0200
commitd69cb728e70c40268762182a62f5d5d6fa51c5b2 (patch)
tree875d356df74e9773969aa9dd03adbf78cf6511e3 /drivers
parentsmb3: Add protocol structs for change notify support (diff)
downloadkernel-qcow2-linux-d69cb728e70c40268762182a62f5d5d6fa51c5b2.tar.gz
kernel-qcow2-linux-d69cb728e70c40268762182a62f5d5d6fa51c5b2.tar.xz
kernel-qcow2-linux-d69cb728e70c40268762182a62f5d5d6fa51c5b2.zip
cifs: fix credits leak for SMB1 oplock breaks
For SMB1 oplock breaks we would grab one credit while sending the PDU but we would never relese the credit back since we will never receive a response to this from the server. Eventuallt this would lead to a hang once all credits are leaked. Fix this by defining a new flag CIFS_NO_SRV_RSP which indicates that there is no server response to this command and thus we need to add any credits back immediately after sending the PDU. CC: Stable <stable@vger.kernel.org> #v5.0+ Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions