]> git.baikalelectronics.ru Git - kernel.git/commit
hyperv: Properly handle checksum offload
authorKY Srinivasan <kys@microsoft.com>
Wed, 30 Apr 2014 18:58:25 +0000 (11:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 20:12:23 +0000 (16:12 -0400)
commitde2d1b5fad5f544537329630b35f374081a3f1b4
treed3ef29c7b3ff28c316691e4fcc2885eca9b50b49
parentadcd4fddf4b3b9830ec46d263d9d9709bad34d48
hyperv: Properly handle checksum offload

Do checksum offload only if the client of the driver wants checksum to be
offloaded.

In V1 version of this patch, I  addressed comments from
Stephen Hemminger <stephen@networkplumber.org> and
Eric Dumazet <eric.dumazet@gmail.com>.

In this version of the patch I have addressed comments from
David Miller.

This patch fixes a bug that is exposed in gateway scenarios.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c