Re: [PATCH net-next] hv_netvsc: Fix the list processing for network change event

2016-04-24 Thread David Miller
From: Haiyang Zhang Date: Thu, 21 Apr 2016 16:13:01 -0700 > RNDIS_STATUS_NETWORK_CHANGE event is handled as two "half events" -- > media disconnect & connect. The second half should be added to the list > head, not to the tail. So all events are processed in normal order. > > Signed-off-by: Haiy

Re: [PATCH net-next] hv_netvsc: Fix the list processing for network change event

2016-04-22 Thread Vitaly Kuznetsov
Haiyang Zhang writes: > RNDIS_STATUS_NETWORK_CHANGE event is handled as two "half events" -- > media disconnect & connect. The second half should be added to the list > head, not to the tail. So all events are processed in normal order. > Thanks, this matters when we get some other events in be

[PATCH net-next] hv_netvsc: Fix the list processing for network change event

2016-04-21 Thread Haiyang Zhang
RNDIS_STATUS_NETWORK_CHANGE event is handled as two "half events" -- media disconnect & connect. The second half should be added to the list head, not to the tail. So all events are processed in normal order. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netv