]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: Call sock_zerocopy_put_abort from skb_zcopy_put_abort
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 6 Jan 2021 22:18:35 +0000 (14:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Jan 2021 00:06:37 +0000 (16:06 -0800)
commitaf7da784eb5dbd7df08cd0722136edbf0a72c31f
tree08c7270f5e085ddc04a2b6adb4342cbfc70e09dd
parent155551c5cf85cb020fff85a922fb3b74e27c40f0
skbuff: Call sock_zerocopy_put_abort from skb_zcopy_put_abort

The sock_zerocopy_put_abort function contains logic which is
specific to the current zerocopy implementation.  Add a wrapper
which checks the callback and dispatches apppropriately.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h
net/core/skbuff.c
net/ipv4/ip_output.c
net/ipv4/tcp.c
net/ipv6/ip6_output.c