Xin Long
f799ada6bf
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: b57dc7c13e ("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] >
2021-11-16 19:17:38 -08:00
..
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-10-18 13:31:58 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-10-18 12:54:41 +01:00
2021-08-02 10:24:38 +01:00
2021-11-16 19:17:38 -08:00
2021-10-18 12:54:41 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-08-19 13:19:30 +01:00
2021-08-02 10:24:38 +01:00
2021-08-17 00:45:07 +02:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-10-29 14:03:22 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2020-07-13 17:20:40 -07:00
2020-11-10 17:00:28 -08:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2021-10-27 18:20:29 -07:00
2021-02-06 11:15:28 -08:00
2021-05-31 22:44:56 -07:00
2020-12-09 15:49:29 -08:00
2020-11-27 14:36:02 -08:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2020-07-16 16:48:34 -07:00
2021-08-19 18:09:18 -07:00
2021-10-18 12:54:41 +01:00
2020-11-23 17:27:04 -08:00
2021-03-10 15:47:52 -08:00
2020-07-16 16:48:34 -07:00
2021-10-18 12:54:41 +01:00
2021-07-29 22:17:37 +01:00
2020-07-16 16:48:34 -07:00
2021-10-18 12:54:41 +01:00
2021-10-01 14:59:10 -07:00
2021-10-20 15:24:36 -07:00
2021-07-29 22:17:37 +01:00
2020-07-16 16:48:34 -07:00
2021-04-29 15:31:53 -07:00
2021-10-27 17:09:26 -07:00
2021-10-27 12:06:52 -07:00
2021-10-18 12:54:41 +01:00
2020-07-16 16:48:34 -07:00
2021-10-28 14:34:03 +01:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-09-30 17:27:03 -07:00
2020-11-10 17:00:28 -08:00
2020-07-16 16:48:34 -07:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2021-03-10 15:47:52 -08:00
2021-07-29 22:17:37 +01:00
2021-07-29 22:17:37 +01:00
2020-07-16 16:48:34 -07:00
2021-11-09 19:16:23 -08:00
2021-10-19 12:24:51 +01:00
2021-04-08 14:14:42 -07:00