diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2019-02-22 18:25:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-10 07:17:17 +0100 |
commit | d61918a5e401bc1911d761a7f0c5c760ea1cac4b (patch) | |
tree | 67a4be2d7b88b9d9de7fb60ffc66bece79c77a92 /net/ipv4 | |
parent | 36bd44bcb4b2fef0f1fabc28c4f99f3098ab2cbd (diff) |
hv_netvsc: Fix IP header checksum for coalesced packets
[ Upstream commit bf48648d650db1146b75b9bd358502431e86cf4f ]
Incoming packets may have IP header checksum verified by the host.
They may not have IP header checksum computed after coalescing.
This patch re-compute the checksum when necessary, otherwise the
packets may be dropped, because Linux network stack always checks it.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions