Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_header_unclone

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

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
gfp_tpri
1635  might_sleep_if(gfpflags_allow_blocking(pri))
1637  If skb_header_cloned - is the header a clone*@skb: buffer to check* Returns true if modifying the header part of the buffer requires* the data to be copied. Then Return reallocate header of sk_buff
1640  Return 0