11784 SMB2 server only grants 1 credit during initial session setup

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

andy_js
illumos-gate
11784
2373
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.

  • 1
  • 0
  • 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 ... vgusev vgusev
citrus
  1. Ship It!
  2. 
      
vgusev
  1. 
      
  2. I see that smb2_credit_response is already set here. And setting again later probably is not that author wanted ? I mean commit 148d1a4158d .

  3. 
      
Loading...