diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2019-02-22 21:25:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-27 01:45:02 +0300 |
commit | bf48648d650db1146b75b9bd358502431e86cf4f (patch) | |
tree | 5c68eba1a15e58e91444685c085446e54ca11629 /net/tipc/socket.c | |
parent | d8e96745a97fb8cf7bd8b239f13b07a5dd313e60 (diff) | |
download | linux-bf48648d650db1146b75b9bd358502431e86cf4f.tar.xz |
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>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions