skbuff: Add skb parameter to the ubuf zerocopy callback
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 6 Jan 2021 22:18:34 +0000 (14:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Jan 2021 00:06:37 +0000 (16:06 -0800)
commit36177832f42d9c7b222ab039678398a9d4070fff
tree3754cf136b706af72f461bf3b6fadadd3acc555c
parente76d46cfff8d2335f363f58bd7387de4059d871d
skbuff: Add skb parameter to the ubuf zerocopy callback

Add an optional skb parameter to the zerocopy callback parameter,
which is passed down from skb_zcopy_clear().  This gives access
to the original skb, which is needed for upcoming RX zero-copy
error handling.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/tap.c
drivers/net/tun.c
drivers/net/xen-netback/common.h
drivers/net/xen-netback/netback.c
drivers/vhost/net.c
include/linux/skbuff.h
net/core/skbuff.c