From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shmulik Ladkani Subject: Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress actions Date: Sun, 25 Sep 2016 20:33:09 +0300 Message-ID: <20160925203309.633cf3d5@halley> References: <1474550512-7552-1-git-send-email-shmulik.ladkani@gmail.com> <1474550512-7552-5-git-send-email-shmulik.ladkani@gmail.com> <4387324a-de66-aa1b-86f0-1a9a2f8294f5@mojatatu.com> <20160923081106.73fb48df@halley> <0037729a-a3fc-c1c9-a620-905c73e0b9d4@mojatatu.com> <20160923184030.75124289@halley> <6d2bd45a-a8a0-846d-5934-5e246522cab8@mojatatu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , WANG Cong , Eric Dumazet , netdev@vger.kernel.org, Florian Westphal , Daniel Borkmann To: Jamal Hadi Salim Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:33866 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754895AbcIYRdT (ORCPT ); Sun, 25 Sep 2016 13:33:19 -0400 Received: by mail-wm0-f68.google.com with SMTP id l132so10677910wmf.1 for ; Sun, 25 Sep 2016 10:33:18 -0700 (PDT) In-Reply-To: <6d2bd45a-a8a0-846d-5934-5e246522cab8@mojatatu.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, 25 Sep 2016 09:05:08 -0400 Jamal Hadi Salim wrote: > On 16-09-23 11:40 AM, Shmulik Ladkani wrote: > > > > [off topic] > > I think this is still on topic! Sorry, wasn't too clear on that. What I meant is that _existing_ "egress redirect" already gets us into crazy loops - the veth misconfig being just one example of, but many more exist (many device stacking constructs, with lower dev issuing an egress-redirect back to the topmost dev). Point is, IMO loop detection (whether/how addressed), is orthogonal to this series implementing "ingress redirect", and doesn't seem as a strict prerequisite to adding the "ingress redirect" functionality to act_mirred. We can later address any loop-detection improvements in mirred. WDYT? Thanks, Shmulik