skbuff: add a parameter to __skb_frag_unref
authorMatteo Croce <mcroce@microsoft.com>
Mon, 7 Jun 2021 19:02:37 +0000 (21:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 21:11:47 +0000 (14:11 -0700)
commitc420c98982fa9e749c99e022845d5f323d098b72
tree4093aaf685c163ee03522e6ebaac03776605978c
parentc07aea3ef4d4076f18f567b98ed01e082e02ed51
skbuff: add a parameter to __skb_frag_unref

This is a prerequisite patch, the next one is enabling recycling of
skbs and fragments. Add an extra argument on __skb_frag_unref() to
handle recycling, and update the current users of the function with that.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/sky2.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
include/linux/skbuff.h
net/core/skbuff.c
net/tls/tls_device.c