diff options
author | Eric Dumazet <[email protected]> | 2022-10-11 14:27:28 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-12 09:10:02 +0100 |
commit | 87445f369cca2965620e79f87145d3d7fa35befd (patch) | |
tree | 088b5f8431814ad237703ccd1fdc693892dc0d1e /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 7e777b1b012e977cfd04347fb347f3f5d097f99e (diff) |
ipv6: ping: fix wrong checksum for large frames
For a given ping datagram, ping_getfrag() is called once
per skb fragment.
A large datagram requiring more than one page fragment
is currently getting the checksum of the last fragment,
instead of the cumulative one.
After this patch, "ping -s 35000 ::1" is working correctly.
Fixes: 6d0bfe226116 ("net: ipv6: Add IPv6 support to the ping socket.")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Lorenzo Colitti <[email protected]>
Cc: Maciej Żenczykowski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions