diff options
author | Sagi Grimberg <sagi@lightbitslabs.com> | 2018-12-03 17:52:10 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 09:58:55 +0100 |
commit | 65d69e2505bb64f6a8d7f417f6e46e2a351174c6 (patch) | |
tree | 12a8a9edd9ef57ee9f77abf770f5f3c8d658c6f5 /net/core/net-sysfs.h | |
parent | iov_iter: introduce hash_and_copy_to_iter helper (diff) | |
download | linux-dev-65d69e2505bb64f6a8d7f417f6e46e2a351174c6.tar.xz linux-dev-65d69e2505bb64f6a8d7f417f6e46e2a351174c6.zip |
datagram: introduce skb_copy_and_hash_datagram_iter helper
Introduce a helper to copy datagram into an iovec iterator
but also update a predefined hash. This is useful for
consumers of skb_copy_datagram_iter to also support inflight
data digest without having to finish to copy and only then
traverse the iovec and calculate the digest hash.
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/core/net-sysfs.h')
0 files changed, 0 insertions, 0 deletions