Re: [PATCH 1/2] ksmbd: fix outstanding credits related bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2022-05-18 6:46 GMT+09:00, Hyunchul Lee <hyc.lee@xxxxxxxxx>:
> outstanding credits must be initialized to 0,
> because it means the sum of credits consumed by
> in-flight requests.
> And outstanding credits must be compared with
> total credits in smb2_validate_credit_charge(),
> because total credits are the sum of credits
> granted by ksmbd.
>
> This patch fix the following error,
> while frametest with Windows clients:
>
> Limits exceeding the maximum allowable outstanding requests,
> given : 128, pending : 8065
>
> Signed-off-by: Hyunchul Lee <hyc.lee@xxxxxxxxx>
> Reported-by: Yufan Chen <wiz.chen@xxxxxxxxx>
> Tested-by: Yufan Chen <wiz.chen@xxxxxxxxx>
Please add Fixes and stable tags.

Thanks.



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux