Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: send RST instead of RST_ACK bit for lb hc
Currently an ovn-controller send RST_ACK after receive SYN_ACK in load balancer health check, but for a windows as load balancer backend this behavior unexcpected and windows send SYN_ACK like a tcp retransmission after every RST_ACK, finaly after few reties windows send RST bit to ovn-controller. In this case the svc_mon status flapping between online and offline, which triger the ovn-northd for each changes and increase CPU-usage ovn-northd to 100%. This patch fixing this behavior for windows and doesn't affect linux with send RST instead of RST_ACK after received SYN_ACK. In RFC1122 section 4.2.2.13 described the ways for closing a connection: https://datatracker.ietf.org/doc/html/rfc1122#page-87 A TCP connection may terminate in two ways: (1) the normal TCP close sequence using a FIN handshake, and (2) an "abort" in which one or more RST segments are sent and the connection state is immediately discarded. For example, nmap tool use the same logic with RST for scaning ports. Signed-off-by: Evgenii Kovalev <ekovalev.off@gmail.com> Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com>
- Loading branch information