Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pskb_trim_unique - remove end from a paged unique (not cloned) buffer*@skb: buffer to alter*@len: new length* This is identical to pskb_trim except that the caller knows that* the skb is not cloned so we should never get an error due to out-* of-memory.

Proto:static inline void pskb_trim_unique(struct sk_buff *skb, unsigned int len)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
unsigned intlen
2678  err = pskb_trim(skb, len)
2679  BUG_ON(err)