]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: extend the connection limiting mechanism to support IPv6
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 17 Aug 2025 00:48:40 +0000 (09:48 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:26:05 +0000 (16:26 +0200)
commit832da840463ada657af4216bbe2158a73618eb8d
tree963623814eff3c955ab061f9350d80858edbff64
parent7df8ee51d382a2f1a56120a1d470c0040736bffd
ksmbd: extend the connection limiting mechanism to support IPv6

commit c0d41112f1a5828c194b59cca953114bc3776ef2 upstream.

Update the connection tracking logic to handle both IPv4 and IPv6
address families.

Cc: stable@vger.kernel.org
Fixes: e6bb91939740 ("ksmbd: limit repeated connections from clients with the same IP")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/smb/server/connection.h
fs/smb/server/transport_tcp.c