summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJonathan Lemon <jonathan.lemon@gmail.com>2021-01-06 14:18:33 -0800
committerJakub Kicinski <kuba@kernel.org>2021-01-07 16:06:37 -0800
commite76d46cfff8d2335f363f58bd7387de4059d871d (patch)
tree84a78f864b589ea83fcef63d5d4bce35f6308489 /net
parent59776362b14b81dc45c6bbd4e7cb3871f390fc1b (diff)
skbuff: replace sock_zerocopy_get with skb_zcopy_get
Rename the get routines for consistency. Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r--net/core/skbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 0e028825367a..00f195908e79 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1163,7 +1163,7 @@ struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size,
/* no extra ref when appending to datagram (MSG_MORE) */
if (sk->sk_type == SOCK_STREAM)
- sock_zerocopy_get(uarg);
+ skb_zcopy_get(uarg);
return uarg;
}