Thread (13 messages) flat view 13 messages, 4 authors, 2021-09-24

Re: [PATCH net 2/2] net: sched: also drop dst for the packets toward ingress in act_mirred

From: Cong Wang <hidden>
Date: 2021-09-21 02:36:59

On Mon, Sep 20, 2021 at 7:12 AM Xin Long [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help