2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/fs/smb/server
Eric Dumazet 935b67675a net: make sk->sk_rcvtimeo lockless
Followup of commit 285975dd67 ("net: annotate data-races around
sk->sk_{rcv|snd}timeo").

Remove lock_sock()/release_sock() from ksmbd_tcp_rcv_timeout()
and add READ_ONCE()/WRITE_ONCE() where it is needed.

Also SO_RCVTIMEO_OLD and SO_RCVTIMEO_NEW can call sock_set_timeout()
without holding the socket lock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250620155536.335520-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-23 17:05:12 -07:00
..
mgmt ksmbd: fix use-after-free in ksmbd_session_rpc_open 2025-04-22 20:45:43 -05:00
asn1.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
asn1.h
auth.c ksmbd: use SHA-256 library API instead of crypto_shash API 2025-05-25 22:54:50 -05:00
auth.h ksmbd: use SHA-256 library API instead of crypto_shash API 2025-05-25 22:54:50 -05:00
connection.c ksmbd: add free_transport ops in ksmbd connection 2025-06-17 16:26:44 -05:00
connection.h ksmbd: add free_transport ops in ksmbd connection 2025-06-17 16:26:44 -05:00
crypto_ctx.c ksmbd: use SHA-256 library API instead of crypto_shash API 2025-05-25 22:54:50 -05:00
crypto_ctx.h ksmbd: use SHA-256 library API instead of crypto_shash API 2025-05-25 22:54:50 -05:00
glob.h ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
Kconfig ksmbd: use SHA-256 library API instead of crypto_shash API 2025-05-25 22:54:50 -05:00
ksmbd_netlink.h ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL 2025-01-15 23:24:51 -06:00
ksmbd_spnego_negtokeninit.asn1 treewide: Add SPDX identifier to IETF ASN.1 modules 2023-10-27 18:04:28 +08:00
ksmbd_spnego_negtokentarg.asn1 treewide: Add SPDX identifier to IETF ASN.1 modules 2023-10-27 18:04:28 +08:00
ksmbd_work.c ksmbd: fix use-after-free in ksmbd_free_work_struct 2025-03-10 12:54:28 -05:00
ksmbd_work.h ksmbd: fix use-after-free in ksmbd_free_work_struct 2025-03-10 12:54:28 -05:00
Makefile
misc.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
misc.h
ndr.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: use list_first_entry_or_null for opinfo_get_list() 2025-05-21 22:30:39 -05:00
oplock.h ksmbd: fix use-after-free in smb_break_all_levII_oplock() 2025-04-14 22:21:26 -05:00
server.c ksmbd: remove unnecessary softdep on crc32 2025-05-25 22:54:50 -05:00
server.h ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL 2025-01-15 23:24:51 -06:00
smb2misc.c smb: move SMB2 Status code to common header file 2024-09-15 10:42:44 -05:00
smb2ops.c ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1 2024-04-02 09:21:25 -05:00
smb2pdu.c ksmbd: handle set/get info file for streamed file 2025-06-17 16:27:16 -05:00
smb2pdu.h ksmbd: provide zero as a unique ID to the Mac client 2025-05-27 10:25:12 -05:00
smb_common.c kernel-6.14-rc1.cred 2025-01-20 10:13:06 -08:00
smb_common.h smb3: Add defines for two new FileSystemAttributes 2025-04-09 23:42:16 -05:00
smbacl.c ksmbd: validate zero num_subauth before sub_auth is accessed 2025-04-01 00:04:21 -05:00
smbacl.h smb: common: change the data type of num_aces to le16 2025-03-02 22:50:54 -06:00
smbfsctl.h
transport_ipc.c ksmbd: Prevent integer overflow in calculation of deadtime 2025-04-14 22:21:26 -05:00
transport_ipc.h ksmbd: Remove unused functions 2025-01-15 23:24:51 -06:00
transport_rdma.c ksmbd: add free_transport ops in ksmbd connection 2025-06-17 16:26:44 -05:00
transport_rdma.h
transport_tcp.c net: make sk->sk_rcvtimeo lockless 2025-06-23 17:05:12 -07:00
transport_tcp.h ksmbd: fix use-after-free in __smb2_lease_break_noti() 2025-04-14 22:21:26 -05:00
unicode.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
unicode.h fs/smb: Swing unicode common code from smb->NLS 2023-08-30 08:55:51 -05:00
vfs_cache.c ksmbd: Fix UAF in __close_file_table_ids 2025-05-06 08:37:02 -05:00
vfs_cache.h ksmbd: handle set/get info file for streamed file 2025-06-17 16:27:16 -05:00
vfs.c ksmbd: handle set/get info file for streamed file 2025-06-17 16:27:16 -05:00
vfs.h ksmbd: Remove unused functions 2025-01-15 23:24:51 -06:00
xattr.h ksmbd: Correct typos in multiple comments across various files 2024-09-25 21:33:22 -05:00