lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 2 Oct 2010 15:44:03 +0530
From:	Rahul Ruikar <rahul.ruikar@...il.com>
To:	Ming Lei <tom.leiming@...il.com>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>, Tejun Heo <tj@...nel.org>,
	asanchez@...rowork.net, rjw@...k.pl, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: core: endpoint: Fix error path

Thanks Ming.
I have certain doubts related to device_unregister()

In some of USB related code..
kfree() is called after device_unregister() ...  device_unregister()
also internally calls put_device()... is that correct behavior or I'm
missing something here..
ex.
file : drivers/usb/gadget/fsl_udc_core.c
function : static int __init fsl_udc_probe(struct platform_device *pdev)


- Rahul Ruikar





On 2 October 2010 15:28, Ming Lei <tom.leiming@...il.com> wrote:
> 2010/10/2 Rahul Ruikar <rahul.ruikar@...il.com>:
>> revised patch attached.
>
> Acked-by: Ming Lei <tom.leiming@...il.com>
>
> --
> Lei Ming
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ