pskb_trim_unique(9) 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