函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-27 06:52:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
gfp_tgfp_mask
2726  如果此条件成立可能性大(为编译器优化)(!skb_zcopy(skb))则返回:0
2728  如果非skb_zcopy_is_nouarg(skb)且callback恒等于sock_zerocopy_callback则返回:0
2731  返回:skb_copy_ubufs(skb, gfp_mask)
调用者
名称描述
____dev_forward_skb