diff options
author | Xin Long <[email protected]> | 2021-11-12 11:33:11 -0500 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-11-16 19:17:38 -0800 |
commit | f799ada6bf2397c351220088b9b0980125c77280 (patch) | |
tree | 6488085e7456292668fcdd2cbbf8fe012f82b4af /scripts/gdb/linux/proc.py | |
parent | b0024a04e48837b6556a080ff37ecd8351632596 (diff) |
net: sched: act_mirred: drop dst for the direction from egress to ingress
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 from egress to ingress in act_mirred.
Note that we don't drop it for the direction change from ingress to
egress, as on which there might be a user case attaching a metadata
dst by act_tunnel_key that would be used later.
Fixes: b57dc7c13ea9 ("net/sched: Introduce action ct")
Signed-off-by: Xin Long <[email protected]>
Acked-by: Cong Wang <[email protected]>
Reviewed-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions