]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit53592b3640019f2834701093e38272fdfd367ad8
tree4a33adeda4cd6d7c2397bdcc56edff4484728990
parent5724b8b5694794829a071c6da7dd0bc146df0756
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