linux-stable/fs/smb/server
Kangjing Huang d26e024a5e ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
[ Upstream commit ecce70cf17 ]

Physical ib_device does not have an underlying net_device, thus its
association with IPoIB net_device cannot be retrieved via
ops.get_netdev() or ib_device_get_by_netdev(). ksmbd reads physical
ib_device port GUID from the lower 16 bytes of the hardware addresses on
IPoIB net_device and match its underlying ib_device using ib_find_gid()

Signed-off-by: Kangjing Huang <huangkangjing@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-05 15:18:34 +01:00
..
mgmt ksmbd: Remove unused field in ksmbd_user struct 2024-01-05 15:18:34 +01:00
asn1.c ksmbd: switch to use kmemdup_nul() helper 2024-01-05 15:18:31 +01:00
asn1.h
auth.c ksmbd: add support for read compound 2024-01-05 15:18:31 +01:00
auth.h
connection.c ksmbd: check iov vector index in ksmbd_conn_write() 2024-01-05 15:18:33 +01:00
connection.h ksmbd: add support for read compound 2024-01-05 15:18:31 +01:00
crypto_ctx.c
crypto_ctx.h
glob.h
Kconfig ksmbd: remove experimental warning 2024-01-05 15:18:32 +01:00
ksmbd_netlink.h ksmbd: check if a mount point is crossed during path lookup 2024-01-05 15:18:31 +01:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c ksmbd: reorganize ksmbd_iov_pin_rsp() 2024-01-05 15:18:34 +01:00
ksmbd_work.h ksmbd: fix wrong interim response on compound 2024-01-05 15:18:32 +01:00
Makefile
misc.c
misc.h
ndr.c
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: fix wrong interim response on compound 2024-01-05 15:18:32 +01:00
oplock.h
server.c ksmbd: fix race condition between tree conn lookup and disconnect 2024-01-05 15:18:33 +01:00
server.h
smb2misc.c ksmbd: return invalid parameter error response if smb2 request is invalid 2024-01-05 15:18:32 +01:00
smb2ops.c ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share 2024-01-05 15:18:27 +01:00
smb2pdu.c ksmbd: fix potential double free on smb2_read_pipe() error path 2024-01-05 15:18:34 +01:00
smb2pdu.h ksmbd: delete asynchronous work from list 2024-01-05 15:18:28 +01:00
smb_common.c ksmbd: add support for read compound 2024-01-05 15:18:31 +01:00
smb_common.h ksmbd: Replace one-element array with flexible-array member 2024-01-05 15:18:31 +01:00
smbacl.c ksmbd: remove unneeded mark_inode_dirty in set_info_sec() 2024-01-05 15:18:32 +01:00
smbacl.h
smbfsctl.h
smbstatus.h
transport_ipc.c ksmbd: use kvzalloc instead of kvmalloc 2024-01-05 15:18:30 +01:00
transport_ipc.h
transport_rdma.c ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev() 2024-01-05 15:18:34 +01:00
transport_rdma.h
transport_tcp.c
transport_tcp.h
unicode.c ksmbd: remove unused is_char_allowed function 2024-01-05 15:18:28 +01:00
unicode.h
uniupr.h
vfs_cache.c ksmbd: fix Null pointer dereferences in ksmbd_update_fstate() 2024-01-05 15:18:33 +01:00
vfs_cache.h ksmbd: fix race condition with fp 2024-01-05 15:18:33 +01:00
vfs.c ksmbd: fix recursive locking in vfs helpers 2024-01-05 15:18:34 +01:00
vfs.h ksmbd: add support for read compound 2024-01-05 15:18:31 +01:00
xattr.h