[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101112.122553.246519981.davem@davemloft.net>
Date: Fri, 12 Nov 2010 12:25:53 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jasowang@...hat.com
Cc: rusty@...tcorp.com.au, markmc@...hat.com,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org, mst@...hat.com
Subject: Re: [V2 PATCH] virtio-net: init link state correctly
From: Jason Wang <jasowang@...hat.com>
Date: Fri, 05 Nov 2010 10:50:08 +0800
> For device that supports VIRTIO_NET_F_STATUS, there's no need to
> assume the link is up and we need to call nerif_carrier_off() before
> querying device status, otherwise we may get wrong operstate after
> diver was loaded because the link watch event was not fired as
> expected.
>
> For device that does not support VIRITO_NET_F_STATUS, we could not get
> its status through virtnet_update_status() and what we can only do is
> always assuming the link is up.
>
> Signed-off-by: Jason Wang <jasowang@...hat.com>
I've applied Rusty's submission of this patch which has Michael T.'s
ACK, etc.
--
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