Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_orphan_frags - orphan the frags contained in a buffer*@skb: buffer to orphan frags from*@gfp_mask: allocation mask for replacement pages* For each frag in the SKB which needs a destructor (i

Proto:static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
gfp_tgfp_mask
2726  If Value is more likely to compile time(!skb_zcopy(skb)) Then Return 0
2728  If Not skb_zcopy_is_nouarg(skb) && callback == sock_zerocopy_callback Then Return 0
2731  Return skb_copy_ubufs(skb, gfp_mask)