PSKB_TRIM_UNIQUE

Section: Linux Networking (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

pskb_trim_unique - remove end from a paged unique (not cloned) buffer  

SYNOPSIS

void pskb_trim_unique(struct sk_buff * skb, unsigned int len);
 

ARGUMENTS

skb

buffer to alter

len

new length
 

DESCRIPTION

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.  

COPYRIGHT