diff options
author | Jonathan Lemon <jonathan.lemon@gmail.com> | 2021-01-07 01:18:32 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-08 03:06:37 +0300 |
commit | 59776362b14b81dc45c6bbd4e7cb3871f390fc1b (patch) | |
tree | 1100d3b65258ec35cbb644d1c35705e1576d24f3 /net/ipv4 | |
parent | 75518851a2a0c047def521aaf87db401de098352 (diff) | |
download | linux-59776362b14b81dc45c6bbd4e7cb3871f390fc1b.tar.xz |
skbuff: replace sock_zerocopy_put() with skb_zcopy_put()
Replace sock_zerocopy_put with the generic skb_zcopy_put()
function. Pass 'true' as the success argument, as this
is identical to no change.
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index ed42d2193c5c..298a1fae841c 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1429,7 +1429,7 @@ out: tcp_push(sk, flags, mss_now, tp->nonagle, size_goal); } out_nopush: - sock_zerocopy_put(uarg); + skb_zcopy_put(uarg); return copied + copied_syn; do_error: |