diff options
author | Cong Wang <[email protected]> | 2020-04-02 20:58:51 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-03 16:00:08 -0700 |
commit | a8eab6d35e22f4f21471f16147be79529cd6aaf7 (patch) | |
tree | 368d450c2049ba3b8f99e712940356130a143d28 /lib/mpi | |
parent | 3e1221acf6a8f8595b5ce354bab4327a69d54d18 (diff) |
net_sched: fix a missing refcnt in tcindex_init()
The initial refcnt of struct tcindex_data should be 1,
it is clear that I forgot to set it to 1 in tcindex_init().
This leads to a dec-after-zero warning.
Reported-by: [email protected]
Fixes: 304e024216a8 ("net_sched: add a temporary refcnt for struct tcindex_data")
Cc: Jamal Hadi Salim <[email protected]>
Cc: Jiri Pirko <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions