diff options
author | Victor Nogueira <victor@mojatatu.com> | 2023-12-19 15:16:21 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-01 13:41:54 +0100 |
commit | df2382eafd0b6b162399ed8d71597b52fc704b98 (patch) | |
tree | d0d066d040a0d418df0ee990f644506c9e082822 /tools | |
parent | f8c4a6b850882bc47aaa864b720c7a2ee3102f39 (diff) | |
download | linux-stable-df2382eafd0b6b162399ed8d71597b52fc704b98.tar.gz linux-stable-df2382eafd0b6b162399ed8d71597b52fc704b98.tar.bz2 linux-stable-df2382eafd0b6b162399ed8d71597b52fc704b98.zip |
net/sched: act_mirred: Create function tcf_mirred_to_dev and improve readability
[ Upstream commit 16085e48cb48aeb50a1178dc276747749910b0f2 ]
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: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Co-developed-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 52f671db1882 ("net/sched: act_mirred: use the backlog for mirred ingress")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions