[PATCH net] net: hyperv: initialize link status correctly

Haiyang Zhang haiyangz at microsoft.com
Mon Jan 27 16:05:03 UTC 2014



> -----Original Message-----
> From: Jason Wang [mailto:jasowang at redhat.com]
> Sent: Monday, January 27, 2014 2:31 AM
> To: KY Srinivasan; Haiyang Zhang; devel at linuxdriverproject.org;
> netdev at vger.kernel.org; linux-kernel at vger.kernel.org
> Cc: Jason Wang
> Subject: [PATCH net] net: hyperv: initialize link status correctly
> 
> Call netif_carrier_on() after register_device(). Otherwise it won't work since
> the device was still in NETREG_UNINITIALIZED state.
> 
> Fixes a68f9614614749727286f675d15f1e09d13cb54a
> (hyperv: Fix race between probe and open calls)
> 
> Cc: Haiyang Zhang <haiyangz at microsoft.com>
> Cc: K. Y. Srinivasan <kys at microsoft.com>
> Reported-by: Di Nie <dnie at redhat.com>
> Tested-by: Di Nie <dnie at redhat.com>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---

I'm working on a fix for this, and will submit it soon.

Thanks,
- Haiyang




More information about the devel mailing list