On Tue, Sep 21, 2021 at 2:34 AM Cong Wang [off-list ref] wrote:
On Mon, Sep 20, 2021 at 7:12 AM Xin Long [off-list ref] wrote:
quoted
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?
We can do it IF there's any user case needing it.
But for now, The problem I've met occurred in ip_rcv() for the user case.
BTW, please CC TC maintainers for TC patches.
added Jamal and Jiri.
Thanks.
Thanks.