diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-08-14 08:35:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-18 02:27:51 +0300 |
commit | 0852e455238f8550fa92b1e40355eb2c6805787e (patch) | |
tree | 516e10d249bd34a6eaf587ca9040ca6599a62029 /scripts/Makefile.modpost | |
parent | 22dc13c837c33207548c8ee5116b64e2930a6e23 (diff) | |
download | linux-0852e455238f8550fa92b1e40355eb2c6805787e.tar.xz |
net_sched: unify the init logic for act_police
Jamal reported a crash when we create a police action
with a specific index, this is because the init logic
is not correct, we should always create one for this
case. Just unify the logic with other tc actions.
Fixes: a03e6fe56971 ("act_police: fix a crash during removal")
Reported-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions