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]
Message-Id: <200912031401.12703.oliver@neukum.org>
Date:	Thu, 3 Dec 2009 14:01:12 +0100
From:	Oliver Neukum <oliver@...kum.org>
To:	David Miller <davem@...emloft.net>
Cc:	david-b@...bell.net, netdev@...r.kernel.org,
	linux-usb@...r.kernel.org
Subject: Re: [patch]reset_resume for cdc-ether

Am Donnerstag, 3. Dezember 2009 11:14:56 schrieb David Miller:
> > Hi,
> > 
> > here's autosuspend again.
> 
> It doesn't apply to my tree still:
> 

Ok, this time against the correct tree comes reset_resume()

	Regards
		Oliver

Signed-off-by: Oliver Neukum <oliver@...kum.org>

--

commit a0516662d1d281c321410a8792603ba02c14293b
Author: Oliver Neukum <oliver@...kum.org>
Date:   Thu Dec 3 13:54:49 2009 +0100

    cdc-ether:imlement reset_resume()
    
    Normal resume can do double duty as reset_resume() for this driver
    as it keeps no state in the device
    
    Signed-off-by: Oliver Neukum <oliver@...kum.org>

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 21e1ba1..075e33f 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -610,6 +610,7 @@ static struct usb_driver cdc_driver = {
 	.disconnect =	usbnet_disconnect,
 	.suspend =	usbnet_suspend,
 	.resume =	usbnet_resume,
+	.reset_resume =	usbnet_resume,
 };
 
 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ