- void skb_trim(struct sk_buff * skb, unsigned int len);
- buffer to alter
- new length
Cut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.