Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_fclone_busy - check if fclone is busy*@sk: socket*@skb: buffer* Returns true if skb is a fast clone, and its clone is not freed.* Some drivers call skb_orphan() in their ndo_start_xmit(),* so we also check that this didnt happen.

Proto:static inline bool skb_fclone_busy(const struct sock *sk, const struct sk_buff *skb)

Type:bool

Parameter:

TypeParameterName
const struct sock *sk
const struct sk_buff *skb
1082  fclones = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(skb, structsk_buff_fclones, skb1)
1084  Return fclone == SKB_FCLONE_ORIG && _read - get a refcount's value*@r: the refcount* Return: the refcount's value > 1 && sk == sk