aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorWANG Cong <[email protected]>2016-08-13 22:35:01 -0700
committerDavid S. Miller <[email protected]>2016-08-17 19:27:51 -0400
commit0852e455238f8550fa92b1e40355eb2c6805787e (patch)
tree516e10d249bd34a6eaf587ca9040ca6599a62029 /lib/cpu-notifier-error-inject.c
parent22dc13c837c33207548c8ee5116b64e2930a6e23 (diff)
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 <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions