]> git.baikalelectronics.ru Git - kernel.git/commit
iov_iter: pass void csum pointer to csum_and_copy_to_iter
authorSagi Grimberg <sagi@lightbitslabs.com>
Tue, 4 Dec 2018 01:52:07 +0000 (17:52 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 08:58:53 +0000 (09:58 +0100)
commit679b52b8d71d03f6237a81258bc362ea304c580f
tree9aac7c054f558aedd9d57f1dd19fdc8e3b20fa26
parent4a8eebf44a019e3da716e2dff756093edf1aead8
iov_iter: pass void csum pointer to csum_and_copy_to_iter

The single caller to csum_and_copy_to_iter is skb_copy_and_csum_datagram
and we are trying to unite its logic with skb_copy_datagram_iter by passing
a callback to the copy function that we want to apply. Thus, we need
to make the checksum pointer private to the function.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/uio.h
lib/iov_iter.c