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

2014-01-27 Thread Haiyang Zhang
ATCH 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

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

2014-01-27 Thread Jason Wang
On 01/27/2014 06:30 PM, Ben Hutchings wrote: > On Mon, 2014-01-27 at 18:28 +0800, Jason Wang wrote: >> On 01/27/2014 06:22 PM, Ben Hutchings wrote: >>> On Mon, 2014-01-27 at 17:40 +0800, Jason Wang wrote: On 01/27/2014 04:35 PM, David Miller wrote: > From: Jason Wang > Date: Mon, 27 J

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

2014-01-27 Thread Ben Hutchings
On Mon, 2014-01-27 at 18:28 +0800, Jason Wang wrote: > On 01/27/2014 06:22 PM, Ben Hutchings wrote: > > On Mon, 2014-01-27 at 17:40 +0800, Jason Wang wrote: > >> On 01/27/2014 04:35 PM, David Miller wrote: > >>> From: Jason Wang > >>> Date: Mon, 27 Jan 2014 15:30:54 +0800 > >>> > Call netif_c

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

2014-01-27 Thread Jason Wang
On 01/27/2014 06:22 PM, Ben Hutchings wrote: > On Mon, 2014-01-27 at 17:40 +0800, Jason Wang wrote: >> On 01/27/2014 04:35 PM, David Miller wrote: >>> From: Jason Wang >>> Date: Mon, 27 Jan 2014 15:30:54 +0800 >>> Call netif_carrier_on() after register_device(). Otherwise it won't work

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

2014-01-27 Thread Ben Hutchings
On Mon, 2014-01-27 at 17:40 +0800, Jason Wang wrote: > On 01/27/2014 04:35 PM, David Miller wrote: > > From: Jason Wang > > Date: Mon, 27 Jan 2014 15:30:54 +0800 > > > >> Call netif_carrier_on() after register_device(). Otherwise it won't work > >> since > >> the device was still in NETREG_UNINIT

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

2014-01-27 Thread Jason Wang
On 01/27/2014 04:35 PM, David Miller wrote: > From: Jason Wang > Date: Mon, 27 Jan 2014 15:30:54 +0800 > >> Call netif_carrier_on() after register_device(). Otherwise it won't work >> since >> the device was still in NETREG_UNINITIALIZED state. >> >> Fixes a68f9614614749727286f675d15f1e09d13cb54a

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

2014-01-27 Thread David Miller
From: Jason Wang Date: Mon, 27 Jan 2014 15:30:54 +0800 > 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) > >

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

2014-01-26 Thread Jason Wang
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 Cc: K. Y. Srinivasan Reported-by: Di Nie Tested-by