]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mptcp: pm: use ipv6_addr_equal in addresses_equal
authorGeliang Tang <tanggeliang@kylinos.cn>
Fri, 21 Feb 2025 15:44:00 +0000 (16:44 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Feb 2025 02:23:44 +0000 (18:23 -0800)
commit7720790fd56b91259efe500a702ad4c0fd29b260
tree168ae97ff6649ddfeb37f23a2450e002008c966b
parentdc41695200a1f5db720f7988952a74833542831d
mptcp: pm: use ipv6_addr_equal in addresses_equal

Use ipv6_addr_equal() to check whether two IPv6 addresses are equal in
mptcp_addresses_equal().

This is more appropriate than using !ipv6_addr_cmp().

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250221-net-next-mptcp-pm-misc-cleanup-3-v1-7-2b70ab1cee79@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c