All of lore.kernel.org
 help / color / mirror / Atom feed
From: Numan Siddique <nusiddiq-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Lance Richardson <lrichard-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: ovs dev <dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org>,
	netdev <netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [RFC] [net]openvswitch: Clear the ct flow key for the recirculated packet
Date: Fri, 17 Mar 2017 11:35:52 +0530	[thread overview]
Message-ID: <CAH=CPzoFpYFzkMFbOLOvyAcwFgcKNLOGL07EAfFwCu-P0yuq_Q@mail.gmail.com> (raw)
In-Reply-To: <941889157.2725572.1489698695710.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Fri, Mar 17, 2017 at 2:41 AM, Lance Richardson <lrichard@redhat.com>
wrote:

> > From: "Numan Siddique" <nusiddiq@redhat.com>
> > To: netdev@vger.kernel.org, "ovs dev" <dev@openvswitch.org>
> > Cc: "Joe Stringer" <joe@ovn.org>, "Andy Zhou" <azhou@ovn.org>,
> jarno@ovn.org
> > Sent: Thursday, March 16, 2017 8:25:06 AM
> > Subject: [RFC] [net]openvswitch: Clear the ct flow key for the
> recirculated packet
> >
> > It is possible that the ct flow key information would have
> > gone stale for the packets received from the userspace due to
> > clone or ct_clear actions.
> >
> > In the case of OVN, it adds ping responder flows, which modifies
> > the original icmp4 request packet to a reply packet. It uses the
> > OVS actions - clone and ct_clear. When the reply packet hits the
> > "ovs_ct_execute" function, and since the ct flow key info is not
> > cleared, the connection tracker doesn't set the state to
> > ESTABLISHED state.
> >
> > Note: This patch is marked as RFC, as I am not sure if this is the
> correct
> > place to address this issue or it should be addressed in ovs-vswitchd
> > to set the OVS_KEY_ATTR_CT_STATE and other related attributes
> > properly for ct_clear action.
> >
> > Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
> > ---
>
> Hi Numan,
>
> With this patch applied I'm consistently seeing failures for two of the
> kernel datapath unit tests (via "make check-kernel"):
>
>  16: conntrack - force commit                        FAILED (
> system-traffic.at:692)
>  54: conntrack - SNAT with ct_mark change on reply   FAILED (
> system-traffic.at:2446)
>
>
Thanks Lance for comments.
I will take care of running the sanity checks next time.

​
_______________________________________________
dev mailing list
dev@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

  parent reply	other threads:[~2017-03-17  6:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 12:25 [RFC] [net]openvswitch: Clear the ct flow key for the recirculated packet Numan Siddique
     [not found] ` <af0d1942-726b-b637-e8e3-2f4857bb00a2-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-03-16 21:11   ` Lance Richardson
     [not found]     ` <941889157.2725572.1489698695710.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-03-17  6:05       ` Numan Siddique [this message]
2017-03-17  0:12   ` Joe Stringer
     [not found]     ` <CAPWQB7GAJYjHBY1EP+Xyq_9nigSAcKMHb-4eTfvBNf_LQ-NuGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-17  6:04       ` Numan Siddique

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH=CPzoFpYFzkMFbOLOvyAcwFgcKNLOGL07EAfFwCu-P0yuq_Q@mail.gmail.com' \
    --to=nusiddiq-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org \
    --cc=lrichard-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.