Eric Dumazet 48a322b6f9 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>
2019-11-20 22:15:12 -08:00
..
2019-09-27 15:10:34 -07:00
2019-07-12 16:03:16 -07:00
2019-09-26 08:56:17 +02:00
2019-10-24 14:53:48 -07:00
2019-10-24 14:53:48 -07:00