[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPWQB7F+JgzPtSf=aUAmuAa77L2EE0p7qMWRe_A4xfH-wwo3wg@mail.gmail.com>
Date: Wed, 29 Jun 2016 11:47:15 +0200
From: Joe Stringer <joe@....org>
To: Samuel Gauthier <samuel.gauthier@...nd.com>
Cc: Pravin B Shelar <pshelar@...ira.com>,
"David S. Miller" <davem@...emloft.net>,
ovs dev <dev@...nvswitch.org>, netdev <netdev@...r.kernel.org>,
Joe Stringer <joestringer@...ira.com>,
netfilter-devel@...r.kernel.org, Justin Pettit <jpettit@...ira.com>
Subject: Re: [ovs-dev] [PATCH net v2] openvswitch: fix conntrack netlink event delivery
On 28 June 2016 at 17:22, Samuel Gauthier <samuel.gauthier@...nd.com> wrote:
> Only the first and last netlink message for a particular conntrack are
> actually sent. The first message is sent through nf_conntrack_confirm when
> the conntrack is committed. The last one is sent when the conntrack is
> destroyed on timeout. The other conntrack state change messages are not
> advertised.
>
> When the conntrack subsystem is used from netfilter, nf_conntrack_confirm
> is called for each packet, from the postrouting hook, which in turn calls
> nf_ct_deliver_cached_events to send the state change netlink messages.
>
> This commit fixes the problem by calling nf_ct_deliver_cached_events in the
> non-commit case as well.
>
> Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
> CC: Joe Stringer <joestringer@...ira.com>
> CC: Justin Pettit <jpettit@...ira.com>
> CC: Andy Zhou <azhou@...ira.com>
> CC: Thomas Graf <tgraf@...g.ch>
> Signed-off-by: Samuel Gauthier <samuel.gauthier@...nd.com>
Acked-by: Joe Stringer <joe@....org>
Powered by blists - more mailing lists