]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: add credits we receive from oplock/break PDUs
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 23 Jan 2019 06:20:38 +0000 (16:20 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 24 Jan 2019 20:52:06 +0000 (14:52 -0600)
commite7b92241dd1adb0147ba3f7ebebe47e922df4448
tree1c37b59481136a7e680368223f0126d7cce08208
parent9214c0e67f2a21ba3f08629ebcdba58fe9047d09
smb3: add credits we receive from oplock/break PDUs

Otherwise we gradually leak credits leading to potential
hung session.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2misc.c