]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSteve French <stfrench@microsoft.com>
Sun, 17 Aug 2025 23:23:22 +0000 (18:23 -0500)
commitc0d41112f1a5828c194b59cca953114bc3776ef2
tree15b6d8d09616cf0408bddcafd2551c085ec9b38e
parentbac7b996d42e458a94578f4227795a0d4deef6fa
ksmbd: extend the connection limiting mechanism to support IPv6

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>
fs/smb/server/connection.h
fs/smb/server/transport_tcp.c