Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_orphan - orphan a buffer*@skb: buffer to orphan* If a buffer currently has an owner then we call the owner's* destructor function and make the @skb unowned. The buffer continues* to exist but is no longer charged to its former owner.

Proto:static inline void skb_orphan(struct sk_buff *skb)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
2706  If destructor Then
2707  destructor(skb)
2708  destructor = NULL
2709  sk = NULL
2710  Else
2711  BUG_ON(sk)