diff options
author | Eric Dumazet <edumazet@google.com> | 2019-11-20 19:19:07 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-20 22:15:12 -0800 |
commit | 48a322b6f9965b2f1e4ce81af972f0e287b07ed0 (patch) | |
tree | 6df17df9dbc5f79537c181180f04372c0951c47d /drivers/nfc/port100.c | |
parent | 064a18998b0b0149c1733266bc0ed9f49074365e (diff) |
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 'drivers/nfc/port100.c')
0 files changed, 0 insertions, 0 deletions