11784 SMB2 server only grants 1 credit during initial session setup

Review Request #2372 - Created Oct. 5, 2019 and updated

Information
Andrew Stormont
illumos-gate
11784
2373
Reviewers
general

During session setup we set smb2_credit_request to initial_credits (20 by default) in smb2_ss_adjust_credits but we don't set smb2_credit_response so the client only gets 1 credit back.

The initial problem was observed with WireShark. With the fix applied the server responds with the expected number of credits.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
I see that smb2_credit_response is already set here. And setting again later probably is not that author wanted ? I ... Vitaliy Gusev Vitaliy Gusev
Andy Fiddaman
Ship It!
Vitaliy Gusev

   

I see that smb2_credit_response is already set here. And setting again later probably is not that author wanted ? I mean commit 148d1a4158d .

Loading...