icmp_push_reply(): reorder adding the checksum up
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 Jul 2020 00:10:34 +0000 (20:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Aug 2020 19:45:13 +0000 (15:45 -0400)
commit3ea7ca80d9c0ff606b5a129dce2354f771a9e4e8
treeae8c8273ddbd4d7602b60c03a5a5a1eb7d944331
parent8d5930dfb7edbf136f2d9900be34ca7af4ba38c1
icmp_push_reply(): reorder adding the checksum up

do csum_partial_copy_nocheck() on the first fragment, then
add the rest to it.  Equivalent transformation.

That was the only caller of csum_partial_copy_nocheck() that
might pass it non-zero as the last argument.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/ipv4/icmp.c