Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_unclone

Proto:static inline int skb_unclone(struct sk_buff *skb, gfp_t pri)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
gfp_tpri
1606  might_sleep_if(gfpflags_allow_blocking(pri))
1608  If skb_cloned - is the buffer a clone*@skb: buffer to check* Returns true if the buffer was generated with skb_clone() and is* one of multiple shared copies of the buffer. Cloned buffers are* shared data so must not be written to under normal circumstances. Then Return reallocate header of sk_buff
1611  Return 0