diff options
author | Eric Dumazet <edumazet@google.com> | 2019-11-21 06:19:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-21 09:15:12 +0300 |
commit | 48a322b6f9965b2f1e4ce81af972f0e287b07ed0 (patch) | |
tree | 6df17df9dbc5f79537c181180f04372c0951c47d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 064a18998b0b0149c1733266bc0ed9f49074365e (diff) | |
download | linux-48a322b6f9965b2f1e4ce81af972f0e287b07ed0.tar.xz |
net-sysfs: fix netdev_queue_add_kobject() breakage
kobject_put() should only be called in error path.
Fixes: b8eb718348b8 ("net-sysfs: Fix reference count leak in rx|netdev_queue_add_kobject")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jouni Hogander <jouni.hogander@unikie.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions