diff mbox series

[ovs-dev] pinctrl: Fix up comments about sending RST packets for healthcheck.

Message ID 20231120194522.1818750-1-dceara@redhat.com
State Accepted
Headers show
Series [ovs-dev] pinctrl: Fix up comments about sending RST packets for healthcheck. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes success github build: passed

Commit Message

Dumitru Ceara Nov. 20, 2023, 7:45 p.m. UTC
We're sending TCP RST not RST-ACK as the comment suggests.

Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2023-November/409288.html
Reported-by: Mark Michelson <mmichels@redhat.com>
Fixes: a35725a7a24b ("pinctrl: send RST instead of RST_ACK bit for lb hc")
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
---
 controller/pinctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ales Musil Nov. 23, 2023, 2:36 p.m. UTC | #1
On Mon, Nov 20, 2023 at 8:45 PM Dumitru Ceara <dceara@redhat.com> wrote:

> We're sending TCP RST not RST-ACK as the comment suggests.
>
> Reported-at:
> https://mail.openvswitch.org/pipermail/ovs-dev/2023-November/409288.html
> Reported-by: Mark Michelson <mmichels@redhat.com>
> Fixes: a35725a7a24b ("pinctrl: send RST instead of RST_ACK bit for lb hc")
> Signed-off-by: Dumitru Ceara <dceara@redhat.com>
> ---
>  controller/pinctrl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/controller/pinctrl.c b/controller/pinctrl.c
> index 62cf4da324..1b176490ea 100644
> --- a/controller/pinctrl.c
> +++ b/controller/pinctrl.c
> @@ -7887,7 +7887,7 @@ pinctrl_handle_tcp_svc_check(struct rconn *swconn,
>          svc_mon->n_success++;
>          svc_mon->state = SVC_MON_S_ONLINE;
>
> -        /* Send RST-ACK packet. */
> +        /* Send RST packet. */
>          svc_monitor_send_tcp_health_check__(swconn, svc_mon, TCP_RST,
>                                              htonl(tcp_ack),
>                                              htonl(0), th->tcp_dst);
> --
> 2.39.3
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>
Looks good to me, thanks.

Acked-by: Ales Musil <amusil@redhat.com>
Dumitru Ceara Dec. 7, 2023, 12:33 p.m. UTC | #2
On 11/23/23 15:36, Ales Musil wrote:
> 
> 
> On Mon, Nov 20, 2023 at 8:45 PM Dumitru Ceara <dceara@redhat.com
> <mailto:dceara@redhat.com>> wrote:
> 
>     We're sending TCP RST not RST-ACK as the comment suggests.
> 
>     Reported-at:
>     https://mail.openvswitch.org/pipermail/ovs-dev/2023-November/409288.html <https://mail.openvswitch.org/pipermail/ovs-dev/2023-November/409288.html>
>     Reported-by: Mark Michelson <mmichels@redhat.com
>     <mailto:mmichels@redhat.com>>
>     Fixes: a35725a7a24b ("pinctrl: send RST instead of RST_ACK bit for
>     lb hc")
>     Signed-off-by: Dumitru Ceara <dceara@redhat.com
>     <mailto:dceara@redhat.com>>
>     ---
>      controller/pinctrl.c | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
> 
>     diff --git a/controller/pinctrl.c b/controller/pinctrl.c
>     index 62cf4da324..1b176490ea 100644
>     --- a/controller/pinctrl.c
>     +++ b/controller/pinctrl.c
>     @@ -7887,7 +7887,7 @@ pinctrl_handle_tcp_svc_check(struct rconn *swconn,
>              svc_mon->n_success++;
>              svc_mon->state = SVC_MON_S_ONLINE;
> 
>     -        /* Send RST-ACK packet. */
>     +        /* Send RST packet. */
>              svc_monitor_send_tcp_health_check__(swconn, svc_mon, TCP_RST,
>                                                  htonl(tcp_ack),
>                                                  htonl(0), th->tcp_dst);
>     -- 
>     2.39.3
> 
>     _______________________________________________
>     dev mailing list
>     dev@openvswitch.org <mailto:dev@openvswitch.org>
>     https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>     <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>
> 
> 
> Looks good to me, thanks.
> 
> Acked-by: Ales Musil <amusil@redhat.com <mailto:amusil@redhat.com>>
> 

Thanks, Ales!  Applied to main and backported down to 22.03.

Regards,
Dumitru
diff mbox series

Patch

diff --git a/controller/pinctrl.c b/controller/pinctrl.c
index 62cf4da324..1b176490ea 100644
--- a/controller/pinctrl.c
+++ b/controller/pinctrl.c
@@ -7887,7 +7887,7 @@  pinctrl_handle_tcp_svc_check(struct rconn *swconn,
         svc_mon->n_success++;
         svc_mon->state = SVC_MON_S_ONLINE;
 
-        /* Send RST-ACK packet. */
+        /* Send RST packet. */
         svc_monitor_send_tcp_health_check__(swconn, svc_mon, TCP_RST,
                                             htonl(tcp_ack),
                                             htonl(0), th->tcp_dst);