[Midnightbsd-cvs] [MidnightBSD/src] ab25d8: Connected sockets are not intended to belong to lo...
Lucas Holt
noreply at github.com
Wed Oct 22 14:08:43 EDT 2025
Branch: refs/heads/stable/4.0
Home: https://github.com/MidnightBSD/src
Commit: ab25d8dbf8175a35e554c4caa3653ef83a444ef6
https://github.com/MidnightBSD/src/commit/ab25d8dbf8175a35e554c4caa3653ef83a444ef6
Author: Lucas Holt <luke at foolishgames.com>
Date: 2025-10-22 (Wed, 22 Oct 2025)
Changed paths:
M sys/netinet/in_pcb.c
M tests/sys/netinet/so_reuseport_lb_test.c
Log Message:
-----------
Connected sockets are not intended to belong to load-balancing groups.
However, the kernel failed to check the connection state of sockets when adding
them to load-balancing groups. Furthermore, when looking up the destination
socket for an incoming packet, the kernel will match a socket belonging to a
load-balancing group even if it is connected.
Connected sockets are only supposed to receive packets originating from the
connected host. The above behavior violates this contract.
Obtained from: FreeBSD
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list