[PATCH 0/7] cifs.ko fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steve,

Follow a series of bugfixes that were mostly found by doing some
stress testing over the reconnect paths. I was able to find most of
the issues by hard-coding the DFS cache ttl to 10 seconds which made
it running several times on every reconnect test.

Please review and test.

Paulo Alcantara (7):
  cifs: fix potential race when tree connecting ipc
  cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
  cifs: protect session status check in smb2_reconnect()
  cifs: protect access of TCP_Server_Info::{origin,leaf}_fullpath
  cifs: print smb3_fs_context::source when mounting
  cifs: avoid potential races when handling multiple dfs tcons
  cifs: fix sharing of DFS connections

 fs/cifs/cifs_debug.c |   7 ++-
 fs/cifs/cifs_debug.h |  12 ++--
 fs/cifs/cifsfs.c     |  14 ++---
 fs/cifs/cifsglob.h   |  23 ++++---
 fs/cifs/cifsproto.h  |  44 ++++++++++++-
 fs/cifs/connect.c    | 145 ++++++++++++++++++++++++-------------------
 fs/cifs/dfs.c        | 137 ++++++++++++++++++++++++++++++----------
 fs/cifs/dfs.h        |  13 +++-
 fs/cifs/dfs_cache.c  | 137 ++++++++++++++++++----------------------
 fs/cifs/dfs_cache.h  |   9 +++
 fs/cifs/ioctl.c      |   2 +-
 fs/cifs/sess.c       |   7 ++-
 fs/cifs/smb2pdu.c    |  19 ++++--
 13 files changed, 360 insertions(+), 209 deletions(-)

-- 
2.40.1




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux