aboutsummaryrefslogtreecommitdiff
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-07-02 12:06:52 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-07-02 12:06:52 +0200
commite2dd0d0593c17f32c7263e9d6f7554ecaabb0baf (patch)
tree49d28d7d73115a7f25d5e52cac07fda75a117dbd /include/linux/skbuff.h
parent19e6ad2c75782bd15b3df24df7982da457d702c5 (diff)
parent2ca58ed21cefdda45520a0a2b1980c008efe9874 (diff)
Merge branch 'zerocopy-tx-cleanups'
Pavel Begunkov says: ==================== zerocopy tx cleanups Assorted zerocopy send path cleanups, the main part of which is moving some net stack specific accounting out of io_uring back to net/ in Patch 4. ==================== Link: https://patch.msgid.link/cover.1719190216.git.asml.silence@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index f4cda3fbdb75..9c29bdd5596d 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1703,6 +1703,9 @@ int __zerocopy_sg_from_iter(struct msghdr *msg, struct sock *sk,
struct sk_buff *skb, struct iov_iter *from,
size_t length);
+int zerocopy_fill_skb_from_iter(struct sk_buff *skb,
+ struct iov_iter *from, size_t length);
+
static inline int skb_zerocopy_iter_dgram(struct sk_buff *skb,
struct msghdr *msg, int len)
{