c31c151b1c4a29da4dc92212aa8648fb4f8557b9 |
|
02-Feb-2012 |
Haiyang Zhang <haiyangz@microsoft.com> |
net/hyperv: Fix the page buffer when an RNDIS message goes beyond page boundary There is a possible data corruption if an RNDIS message goes beyond page boundary in the sending code path. This patch fixes the problem. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/hyperv/netvsc_drv.c
|
0a282538cc1977655004cdb2eb25dd2b63f20637 |
|
02-Feb-2012 |
Haiyang Zhang <haiyangz@microsoft.com> |
net/hyperv: Use netif_tx_disable() instead of netif_stop_queue() when necessary For code path not on the xmit, use netif_tx_disable() instead of netif_stop_queue() to ensure other CPUs are not doing xmit. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/hyperv/netvsc_drv.c
|
48c3883999cb06246911e29356d194f96f1c75ef |
|
29-Jan-2012 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
net/hyperv: rx_bytes should account the ether header size skb->len after call eth_type_trans() does not include the ether header size, but rx_bytes should account it. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/hyperv/netvsc_drv.c
|
c11bf1c8baff170fa478adc04964da519d160e62 |
|
24-Jan-2012 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
net/hyperv: fix possible memory leak in do_set_multicast() do_set_multicast() may not free the memory malloc in netvsc_set_multicast_list(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/hyperv/netvsc_drv.c
|
4d447c9a6ebc0142d320f075c5bac6d202a79fd4 |
|
15-Dec-2011 |
Haiyang Zhang <haiyangz@microsoft.com> |
net/hyperv: Add support for jumbo frame up to 64KB Allow the user set the MTU up to 65536 for Linux guests running on Hyper-V 2008 R2 or later. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/net/hyperv/netvsc_drv.c
|
453263421f88b4a7e508c2e7b639c97e99c5b118 |
|
15-Dec-2011 |
Haiyang Zhang <haiyangz@microsoft.com> |
net/hyperv: Remove unnecessary kmap_atomic in netvsc driver __get_free_pages() doesn't return HI memory, so the memory is always mapped. kmap_atomic() is not necessary here. This patch removes the kmap_atomic() calls and related code for locking and page manipulation. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/net/hyperv/netvsc_drv.c
|
1d06825b0ede541f63b5577435abd2fc649a9b5e |
|
02-Dec-2011 |
Haiyang Zhang <haiyangz@microsoft.com> |
net/hyperv: Fix the stop/wake queue mechanism The ring buffer is only used to pass meta data for outbound packets. The actual payload is accessed by DMA from the host. So the stop/wake queue mechanism based on counting and comparing number of pages sent v.s. number of pages in the ring buffer is wrong. Also, there is a race condition in the stop/wake queue calls, which can stop xmit queue forever. The new stop/wake queue mechanism is based on the actual bytes used by outbound packets in the ring buffer. The check for number of outstanding sends after stop queue prevents the race condition that can cause wake queue happening earlier than stop queue. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reported-by: Long Li <longli@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/net/hyperv/netvsc_drv.c
|
d426b2e3d91f8ec3203f8852e7ad0153b5dfdf71 |
|
30-Nov-2011 |
Haiyang Zhang <haiyangz@microsoft.com> |
net/hyperv: Add support for promiscuous mode setting Add code to accept promiscuous mode setting, and pass it to RNDIS filter. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/net/hyperv/netvsc_drv.c
|
95fa0405c5991726e06c08ffcd8ff872f7fb4f2d |
|
28-Nov-2011 |
Haiyang Zhang <haiyangz@microsoft.com> |
staging: hv: move hv_netvsc out of staging area hv_netvsc has been reviewed on netdev mailing list on 6/09/2011. All recommended changes have been made. We are requesting to move it out of staging area. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: KY Srinivasan <kys@microsoft.com> Signed-off-by: Mike Sterling <Mike.Sterling@microsoft.com> Acked-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/net/hyperv/netvsc_drv.c
|