[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpVvZY2QrQ83FzkmmEe_sG8B86i+w_0qwp6M9WaehEW+Zg@mail.gmail.com>
Date: Mon, 20 Sep 2021 11:34:33 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Davide Caratti <dcaratti@...hat.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: Re: [PATCH net 2/2] net: sched: also drop dst for the packets toward
ingress in act_mirred
On Mon, Sep 20, 2021 at 7:12 AM Xin Long <lucien.xin@...il.com> wrote:
>
> Without dropping dst, the packets sent from local mirred/redirected
> to ingress will may still use the old dst. ip_rcv() will drop it as
> the old dst is for output and its .input is dst_discard.
>
> This patch is to fix by also dropping dst for those packets that are
> mirred or redirected to ingress in act_mirred.
Similar question: what about redirecting from ingress to egress?
BTW, please CC TC maintainers for TC patches.
Thanks.
Powered by blists - more mailing lists