Re: [PATCH net-next,v2] hyperv: Move state setting for link query

2014-03-05 Thread David Miller
From: Haiyang Zhang Date: Tue, 4 Mar 2014 14:11:06 -0800 > It moves the state setting for query into rndis_filter_receive_response(). > All callbacks including query-complete and status-callback are synchronized > by channel->inbound_lock. This prevents pentential race between them. > >

Re: [PATCH net-next,v2] hyperv: Move state setting for link query

2014-03-05 Thread David Miller
From: Haiyang Zhang haiya...@microsoft.com Date: Tue, 4 Mar 2014 14:11:06 -0800 It moves the state setting for query into rndis_filter_receive_response(). All callbacks including query-complete and status-callback are synchronized by channel-inbound_lock. This prevents pentential race between

[PATCH net-next,v2] hyperv: Move state setting for link query

2014-03-04 Thread Haiyang Zhang
It moves the state setting for query into rndis_filter_receive_response(). All callbacks including query-complete and status-callback are synchronized by channel->inbound_lock. This prevents pentential race between them. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c |4

[PATCH net-next,v2] hyperv: Move state setting for link query

2014-03-04 Thread Haiyang Zhang
It moves the state setting for query into rndis_filter_receive_response(). All callbacks including query-complete and status-callback are synchronized by channel-inbound_lock. This prevents pentential race between them. Signed-off-by: Haiyang Zhang haiya...@microsoft.com ---