act_police.c (50dc9a8572aa4d7cdc56670228fcde40289ed289) | act_police.c (29cbcd85828372333aa87542c51f2b2b0fd4380c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * net/sched/act_police.c Input police filter 4 * 5 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 6 * J Hadi Salim (action changes) 7 */ 8 --- 111 unchanged lines hidden (view full) --- 120 } 121 } 122 123 if (est) { 124 err = gen_replace_estimator(&police->tcf_bstats, 125 police->common.cpu_bstats, 126 &police->tcf_rate_est, 127 &police->tcf_lock, | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * net/sched/act_police.c Input police filter 4 * 5 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 6 * J Hadi Salim (action changes) 7 */ 8 --- 111 unchanged lines hidden (view full) --- 120 } 121 } 122 123 if (est) { 124 err = gen_replace_estimator(&police->tcf_bstats, 125 police->common.cpu_bstats, 126 &police->tcf_rate_est, 127 &police->tcf_lock, |
128 NULL, est); | 128 false, est); |
129 if (err) 130 goto failure; 131 } else if (tb[TCA_POLICE_AVRATE] && 132 (ret == ACT_P_CREATED || 133 !gen_estimator_active(&police->tcf_rate_est))) { 134 err = -EINVAL; 135 goto failure; 136 } --- 320 unchanged lines hidden --- | 129 if (err) 130 goto failure; 131 } else if (tb[TCA_POLICE_AVRATE] && 132 (ret == ACT_P_CREATED || 133 !gen_estimator_active(&police->tcf_rate_est))) { 134 err = -EINVAL; 135 goto failure; 136 } --- 320 unchanged lines hidden --- |