netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch]startup race in hso driver
@ 2008-12-18 13:57 Oliver Neukum
       [not found] ` <200812181457.36340.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Oliver Neukum @ 2008-12-18 13:57 UTC (permalink / raw)
  To: ajb-5+cxppFmGx6/3pe1ocb+s/XRex20P6io, Greg Kroah-Hartman,
	netdev-u79uwXL29TY76Z2rM5mHXA, jgarzik-e+AXbWqSrlAAvxtiuMwx3w,
	USB list

The flag marking a device running must be set before the URBs for
recption are submitted or they may complete too early and fail to resubmit.

Signed-off-by: Oliver Neukum <oneukum-l3A5Bk7waGM@public.gmane.org>

	Regards
		Oliver

---

diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index 8e90891..cc75c8b 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -658,10 +658,9 @@ static int hso_net_open(struct net_device *net)
 	odev->rx_buf_missing = sizeof(struct iphdr);
 	spin_unlock_irqrestore(&odev->net_lock, flags);
 
-	hso_start_net_device(odev->parent);

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-01-12 10:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18 13:57 [patch]startup race in hso driver Oliver Neukum
     [not found] ` <200812181457.36340.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2008-12-18 13:59   ` Denis Joseph Barrow
     [not found]     ` <494A5728.9070908-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
2008-12-19  3:52       ` David Miller
     [not found]         ` <20081218.195251.186334055.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-12-19  9:20           ` Denis Joseph Barrow
2008-12-23  3:54             ` David Miller
     [not found]               ` <20081222.195420.82285555.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-12-23 12:33                 ` Oliver Neukum
2008-12-19  3:45   ` David Miller
2009-01-12 10:03   ` Denis Joseph Barrow
     [not found]     ` <496B1556.3010901-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
2009-01-12 10:57       ` Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).