1. 14 9月, 2021 2 次提交
  2. 26 8月, 2021 1 次提交
  3. 23 7月, 2021 1 次提交
  4. 16 7月, 2021 4 次提交
  5. 14 7月, 2021 1 次提交
  6. 03 7月, 2021 1 次提交
  7. 25 6月, 2021 1 次提交
  8. 24 6月, 2021 1 次提交
  9. 21 6月, 2021 5 次提交
  10. 05 5月, 2021 1 次提交
    • P
      cifs: fix regression when mounting shares with prefix paths · 5c1acf3f
      Paulo Alcantara 提交于
      The commit 315db9a0 ("cifs: fix leak in cifs_smb3_do_mount() ctx")
      revealed an existing bug when mounting shares that contain a prefix
      path or DFS links.
      
      cifs_setup_volume_info() requires the @devname to contain the full
      path (UNC + prefix) to update the fs context with the new UNC and
      prepath values, however we were passing only the UNC
      path (old_ctx->UNC) in @device thus discarding any prefix paths.
      
      Instead of concatenating both old_ctx->{UNC,prepath} and pass it in
      @devname, just keep the dup'ed values of UNC and prepath in
      cifs_sb->ctx after calling smb3_fs_context_dup(), and fix
      smb3_parse_devname() to correctly parse and not leak the new UNC and
      prefix paths.
      
      Cc: <stable@vger.kernel.org> # v5.11+
      Fixes: 315db9a0 ("cifs: fix leak in cifs_smb3_do_mount() ctx")
      Signed-off-by: NPaulo Alcantara (SUSE) <pc@cjr.nz>
      Acked-by: NDavid Disseldorp <ddiss@suse.de>
      Signed-off-by: NSteve French <stfrench@microsoft.com>
      5c1acf3f
  11. 04 5月, 2021 2 次提交
  12. 26 4月, 2021 2 次提交
  13. 08 4月, 2021 1 次提交
  14. 09 3月, 2021 1 次提交
  15. 07 3月, 2021 1 次提交
  16. 26 2月, 2021 7 次提交
  17. 23 2月, 2021 2 次提交
  18. 17 2月, 2021 2 次提交
  19. 12 2月, 2021 1 次提交
  20. 10 2月, 2021 1 次提交
  21. 29 1月, 2021 1 次提交
  22. 18 1月, 2021 1 次提交