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:Frags must be orphaned, even if refcounted, if skb might loop to rx path

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

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
gfp_tgfp_mask
2737  If Value is more likely to compile time(!skb_zcopy(skb)) Then Return 0
2739  Return skb_copy_ubufs(skb, gfp_mask)