Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Release a reference on a zerocopy structure

Proto:static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
boolzerocopy
1449  uarg = skb_zcopy(skb)
1451  If uarg Then
1452  If skb_zcopy_is_nouarg(skb) Then Else if callback == sock_zerocopy_callback Then
1455  zerocopy = zerocopy && zerocopy
1456  sock_zerocopy_put(uarg)
1457  Else
1458  callback(uarg, zerocopy)
1461  tx_flags &= ~SKBTX_ZEROCOPY_FRAG