commit | bf48648d650db1146b75b9bd358502431e86cf4f | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Fri Feb 22 18:25:03 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 26 14:45:02 2019 -0800 |
tree | 5c68eba1a15e58e91444685c085446e54ca11629 | |
parent | d8e96745a97fb8cf7bd8b239f13b07a5dd313e60 [diff] |
hv_netvsc: Fix IP header checksum for coalesced packets 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>