Hi, Thanks for the patch.
On Thu, 19 Nov 2026 12:40:08 +0800, Liu Chong via Openvpn-devel <[email protected]> wrote: > In ovpn_peer_lookup_vpn_addr6() the word-by-word comparison uses > 'continue' on mismatch, but it only skips to the next word of the > inner loop, not to the next peer. The comparison therefore has no > effect and the first holdable peer in the bucket is returned even > if its IPv6 address does not match. > > In multi-peer mode a packet can be sent to the wrong peer whenever > two IPv6 peers share a hash bucket (with a single peer per bucket > the bug is masked). > > Replace the broken loop with ipv6_addr_equal(), like in the IPv4 > lookup path. > > Fixes: 94581f0cb760 ("ovpn-dco: restructure code to allow supporting multiple > link to peers") > Signed-off-by: Liu Chong <[email protected]> Reviewed-by: Ralf Lici <[email protected]> Regards, -- Ralf Lici Mandelbit Srl _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
