cifs.ko fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cifs: fix potential race when tree connecting ipcfs/ | +50 | 0 replies | |
| 2/7 | cifs: fix potential use-after-free bugs in TCP_Server_Info::hostnamefs/ fs/ fs/ +1 more | +23 | 0 replies | |
| 3/7 | cifs: protect session status check in smb2_reconnect()fs/ | +11 | 0 replies | |
| 4/7 | cifs: protect access of TCP_Server_Info::{origin,leaf}_fullpathfs/ fs/ fs/ +2 more | +43 | 0 replies | |
| 5/7 | cifs: print smb3_fs_context::source when mountingfs/ | +6 | 0 replies | |
| 6/7 | cifs: avoid potential races when handling multiple dfs tconsfs/ fs/ fs/ +2 more | +82 | 0 replies | |
| 7/7 | cifs: fix sharing of DFS connectionsfs/ fs/ fs/ +3 more | +150 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] cifs.ko fixes
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(-)
Signature · 1 line
2.40.1