[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191217.142048.1420015947023495901.davem@davemloft.net>
Date: Tue, 17 Dec 2019 14:20:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jouni.hogander@...kie.com
Cc: netdev@...r.kernel.org, penguin-kernel@...ove.SAKURA.ne.jp,
lukas.bulwahn@...il.com
Subject: Re: [PATCH] net-sysfs: Call dev_hold always in rx_queue_add_kobject
From: jouni.hogander@...kie.com
Date: Tue, 17 Dec 2019 10:44:29 +0200
> From: Jouni Hogander <jouni.hogander@...kie.com>
>
> Dev_hold has to be called always in rx_queue_add_kobject.
> Otherwise usage count drops below 0 in case of failure in
> kobject_init_and_add.
>
> Fixes: b8eb718348b8 ("net-sysfs: Fix reference count leak in rx|netdev_queue_add_kobject")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Cc: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
> Cc: David Miller <davem@...emloft.net>
> Cc: Lukas Bulwahn <lukas.bulwahn@...il.com>
> Signed-off-by: Jouni Hogander <jouni.hogander@...kie.com>
Why are you posting this again, the change is already in my tree?
Powered by blists - more mailing lists