Skip to content
Commit 73db191d authored by Victor Nogueira's avatar Victor Nogueira Committed by Greg Kroah-Hartman
Browse files

net/sched: act_mirred: Create function tcf_mirred_to_dev and improve readability



[ Upstream commit 16085e48 ]

As a preparation for adding block ID to mirred, separate the part of
mirred that redirect/mirrors to a dev into a specific function so that it
can be called by blockcast for each dev.

Also improve readability. Eg. rename use_reinsert to dont_clone and skb2
to skb_to_send.

Co-developed-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Co-developed-by: default avatarPedro Tammela <pctammela@mojatatu.com>
Signed-off-by: default avatarPedro Tammela <pctammela@mojatatu.com>
Signed-off-by: default avatarVictor Nogueira <victor@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 52f671db ("net/sched: act_mirred: use the backlog for mirred ingress")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 334a8348
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment