diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2018-08-08 14:04:13 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-08-09 14:12:04 -0700 |
| commit | 63cc5bcc9fc467bbe61cc9ee52509294bdf04c4b (patch) | |
| tree | f7a846f8c2ef0d44c1c3b99b5dab3e613e28ec4b /tools/perf/scripts/python/bin | |
| parent | decnet: fix using plain integer as NULL warning (diff) | |
| download | linux-63cc5bcc9fc467bbe61cc9ee52509294bdf04c4b.tar.gz linux-63cc5bcc9fc467bbe61cc9ee52509294bdf04c4b.zip | |
net: sched: fix block->refcnt decrement
Currently the refcnt is never decremented in case the value is not 1.
Fix it by adding decrement in case the refcnt is not 1.
Reported-by: Vlad Buslov <vladbu@mellanox.com>
Fixes: f71e0ca4db18 ("net: sched: Avoid implicit chain 0 creation")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
