]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c294f21c637be36099089c62901bfb0ef97a6b1
treeae8c8273ddbd4d7602b60c03a5a5a1eb7d944331
parentc355df86d0471601b005b08fda877112d3e1c287
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