[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7419cfbc-1269-46fc-95b9-502e6fe23226@suse.com>
Date: Wed, 14 May 2025 14:03:02 +0200
From: Oliver Neukum <oneukum@...e.com>
To: David Wang <00107082@....com>, Oliver Neukum <oneukum@...e.com>
Cc: mathias.nyman@...el.com, gregkh@...uxfoundation.org,
stern@...land.harvard.edu, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] USB: core: add a memory pool to urb for
host-controller private data
On 14.05.25 13:51, David Wang wrote:
> I am not quite sure about the concern here, do you mean somebody create a urb,
> and then usb_init_urb() here, and never use urb_destroy to release it?
Yes.
>
> That would cause memory leak if urb_destroy is not called......But is this really possible?.
I think a few drivers under drivers/media do so.
Regards
Oliver
Powered by blists - more mailing lists