1. 25 11月, 2019 3 次提交
  2. 28 10月, 2019 1 次提交
  3. 27 9月, 2019 1 次提交
    • P
      CIFS: Fix oplock handling for SMB 2.1+ protocols · a016e279
      Pavel Shilovsky 提交于
      There may be situations when a server negotiates SMB 2.1
      protocol version or higher but responds to a CREATE request
      with an oplock rather than a lease.
      
      Currently the client doesn't handle such a case correctly:
      when another CREATE comes in the server sends an oplock
      break to the initial CREATE and the client doesn't send
      an ack back due to a wrong caching level being set (READ
      instead of RWH). Missing an oplock break ack makes the
      server wait until the break times out which dramatically
      increases the latency of the second CREATE.
      
      Fix this by properly detecting oplocks when using SMB 2.1
      protocol version and higher.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NPavel Shilovsky <pshilov@microsoft.com>
      Signed-off-by: NSteve French <stfrench@microsoft.com>
      Reviewed-by: NRonnie Sahlberg <lsahlber@redhat.com>
      a016e279
  4. 24 9月, 2019 1 次提交
  5. 17 9月, 2019 10 次提交
  6. 06 8月, 2019 2 次提交
  7. 19 7月, 2019 2 次提交
  8. 16 7月, 2019 1 次提交
  9. 11 7月, 2019 1 次提交
  10. 08 7月, 2019 5 次提交
  11. 28 6月, 2019 1 次提交
    • R
      cifs: fix crash querying symlinks stored as reparse-points · 5de254dc
      Ronnie Sahlberg 提交于
      We never parsed/returned any data from .get_link() when the object is a windows reparse-point
      containing a symlink. This results in the VFS layer oopsing accessing an uninitialized buffer:
      
      ...
      [  171.407172] Call Trace:
      [  171.408039]  readlink_copy+0x29/0x70
      [  171.408872]  vfs_readlink+0xc1/0x1f0
      [  171.409709]  ? readlink_copy+0x70/0x70
      [  171.410565]  ? simple_attr_release+0x30/0x30
      [  171.411446]  ? getname_flags+0x105/0x2a0
      [  171.412231]  do_readlinkat+0x1b7/0x1e0
      [  171.412938]  ? __ia32_compat_sys_newfstat+0x30/0x30
      ...
      
      Fix this by adding code to handle these buffers and make sure we do return a valid buffer
      to .get_link()
      
      CC: Stable <stable@vger.kernel.org>
      Signed-off-by: NRonnie Sahlberg <lsahlber@redhat.com>
      Signed-off-by: NSteve French <stfrench@microsoft.com>
      5de254dc
  12. 19 6月, 2019 1 次提交
  13. 16 5月, 2019 1 次提交
  14. 10 5月, 2019 2 次提交
  15. 08 5月, 2019 8 次提交