From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1CB5C17443 for ; Sat, 9 Nov 2019 22:15:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D21D207FA for ; Sat, 9 Nov 2019 22:15:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726586AbfKIWPp (ORCPT ); Sat, 9 Nov 2019 17:15:45 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:40337 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbfKIWPp (ORCPT ); Sat, 9 Nov 2019 17:15:45 -0500 Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (Authenticated sender: pshelar@ovn.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id D8183200004; Sat, 9 Nov 2019 22:15:41 +0000 (UTC) Received: by mail-vs1-f52.google.com with SMTP id a143so6279671vsd.9; Sat, 09 Nov 2019 14:15:41 -0800 (PST) X-Gm-Message-State: APjAAAXKbZpuq3e2j0IJQN7Wu1WwvATCCTTPHL0z7D5PRsxSpAppJYwo gh6s5H8Sr9jV5PLgwQqCs5kiIQWAsHagww5k4Ds= X-Google-Smtp-Source: APXvYqyc90bexO8eRldc5FZhDnhfdSc1UeYFztZ5ppCtTzb2OHwiFcUK7tRNSe0JQSzTQ8Da/zzopewstGJFU+j+7BE= X-Received: by 2002:a05:6102:2417:: with SMTP id j23mr13329005vsi.93.1573337740380; Sat, 09 Nov 2019 14:15:40 -0800 (PST) MIME-Version: 1.0 References: <20191108210714.12426-1-aconole@redhat.com> In-Reply-To: <20191108210714.12426-1-aconole@redhat.com> From: Pravin Shelar Date: Sat, 9 Nov 2019 14:15:31 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net 1/2] openvswitch: support asymmetric conntrack To: Aaron Conole Cc: Linux Kernel Network Developers , "David S . Miller" , Jamal Hadi Salim , Cong Wang , Jiri Pirko , ovs dev , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Nov 8, 2019 at 1:07 PM Aaron Conole wrote: > > The openvswitch module shares a common conntrack and NAT infrastructure > exposed via netfilter. It's possible that a packet needs both SNAT and > DNAT manipulation, due to e.g. tuple collision. Netfilter can support > this because it runs through the NAT table twice - once on ingress and > again after egress. The openvswitch module doesn't have such capability. > > Like netfilter hook infrastructure, we should run through NAT twice to > keep the symmetry. > > Fixes: 05752523e565 ("openvswitch: Interface with NAT.") > Signed-off-by: Aaron Conole The patch looks ok. But I am not able apply it. can you fix the encoding.