summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJordan Rife <jrife@google.com>2023-10-04 04:13:03 +0300
committerSteve French <stfrench@microsoft.com>2023-10-05 00:18:27 +0300
commitcedc019b9f260facfadd20c6c490e403abf292e3 (patch)
tree5e0edafb489721093d845bc9d69cee7a679e37f3 /fs/jbd2/commit.c
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
downloadlinux-cedc019b9f260facfadd20c6c490e403abf292e3.tar.xz
smb: use kernel_connect() and kernel_bind()
Recent changes to kernel_connect() and kernel_bind() ensure that callers are insulated from changes to the address parameter made by BPF SOCK_ADDR hooks. This patch wraps direct calls to ops->connect() and ops->bind() with kernel_connect() and kernel_bind() to ensure that SMB mounts do not see their mount address overwritten in such cases. Link: https://lore.kernel.org/netdev/9944248dba1bce861375fcce9de663934d933ba9.camel@redhat.com/ Cc: <stable@vger.kernel.org> # 6.0+ Signed-off-by: Jordan Rife <jrife@google.com> Acked-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions