Thread (44 messages) 44 messages, 9 authors, 2016-09-27

Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress actions

flat view

From: Eric Dumazet <hidden>
Date: 2016-09-22 14:54:15

On Thu, 2016-09-22 at 16:21 +0300, Shmulik Ladkani wrote:
From: Shmulik Ladkani <redacted>

Up until now, 'action mirred' supported only egress actions (either
TCA_EGRESS_REDIR or TCA_EGRESS_MIRROR).

This patch implements the corresponding ingress actions
TCA_INGRESS_REDIR and TCA_INGRESS_MIRROR.

This allows attaching filters whose target is to hand matching skbs into
the rx processing of a specified device.

Signed-off-by: Shmulik Ladkani <redacted>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
---
 Was wondering, whether netif_receive_skb or dev_forward_skb should be
 used for the rx bouncing. Used netif_receive_skb as in ifb device.
Hmm... we probably need to apply the full rcu protection before this
patch.

https://patchwork.ozlabs.org/patch/667680/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help