]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_mirred: Implement ingress actions
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Thu, 13 Oct 2016 06:06:44 +0000 (09:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2016 14:23:07 +0000 (10:23 -0400)
commitb7170200d1942acaa6a6b27a6f4d1c8aac348ca2
tree4a33adeda4cd6d7c2397bdcc56edff4484728990
parent1b178517af9fe2b8cc844364a69b0247bbae1ff1
net/sched: act_mirred: Implement ingress actions

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 <shmulik.ladkani@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Tested-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c