diff options
author | Victor Nogueira <victor@mojatatu.com> | 2023-12-19 15:16:22 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-26 21:20:08 +0000 |
commit | 415e38bf1d8d789ee1fcb26bd815d8b95fe4faad (patch) | |
tree | 40d5f16bb17fc4c8aefd58d9811d12903c192717 /net/sched/cls_api.c | |
parent | 16085e48cb48aeb50a1178dc276747749910b0f2 (diff) |
net/sched: act_mirred: Add helper function tcf_mirred_replace_dev
The act of replacing a device will be repeated by the init logic for the
block ID in the patch that allows mirred to a block. Therefore we
encapsulate this functionality in a function (tcf_mirred_replace_dev) so
that we can reuse it and avoid code repetition.
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>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions