1. 01 10月, 2021 1 次提交
    • J
      SUNRPC: fix sign error causing rpcsec_gss drops · 2ba5acfb
      J. Bruce Fields 提交于
      If sd_max is unsigned, then sd_max - GSS_SEQ_WIN is a very large number
      whenever sd_max is less than GSS_SEQ_WIN, and the comparison:
      
      	seq_num <= sd->sd_max - GSS_SEQ_WIN
      
      in gss_check_seq_num is pretty much always true, even when that's
      clearly not what was intended.
      
      This was causing pynfs to hang when using krb5, because pynfs uses zero
      as the initial gss sequence number.  That's perfectly legal, but this
      logic error causes knfsd to drop the rpc in that case.  Out-of-order
      sequence IDs in the first GSS_SEQ_WIN (128) calls will also cause this.
      
      Fixes: 10b9d99a ("SUNRPC: Augment server-side rpcgss tracepoints")
      Cc: stable@vger.kernel.org
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      2ba5acfb
  2. 04 9月, 2021 1 次提交
  3. 01 9月, 2021 1 次提交
  4. 28 8月, 2021 5 次提交
  5. 26 8月, 2021 1 次提交
  6. 21 8月, 2021 3 次提交
  7. 19 8月, 2021 1 次提交
  8. 17 8月, 2021 6 次提交
  9. 16 8月, 2021 1 次提交
  10. 11 8月, 2021 3 次提交
  11. 10 8月, 2021 14 次提交
  12. 09 7月, 2021 3 次提交