From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH nf-next v8 3/8] openvswitch: Add commentary to conntrack.c Date: Wed, 9 Mar 2016 16:50:13 +0300 Message-ID: <56E02A15.6030005@cogentembedded.com> References: <1457483084-13944-1-git-send-email-jarno@ovn.org> <1457483084-13944-3-git-send-email-jarno@ovn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, dev@openvswitch.org To: Jarno Rajahalme , netfilter-devel@vger.kernel.org Return-path: In-Reply-To: <1457483084-13944-3-git-send-email-jarno@ovn.org> Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org Hello. On 3/9/2016 3:24 AM, Jarno Rajahalme wrote: > This makes the code easier to understand and the following patches > more focused. > > Signed-off-by: Jarno Rajahalme > --- > net/openvswitch/conntrack.c | 21 ++++++++++++++++++++- > 1 file changed, 20 insertions(+), 1 deletion(-) > > diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c > index 3045290..8cd0110 100644 > --- a/net/openvswitch/conntrack.c > +++ b/net/openvswitch/conntrack.c [...] > @@ -418,6 +429,13 @@ static int ovs_ct_lookup(struct net *net, struct sw_flow_key *key, > { > struct nf_conntrack_expect *exp; > > + /* If we pass an expected packet through nf_conntrack_in() the > + * expectiation is typically removed, but the packet could still be Expectation. [...] MBR, Sergei