1. NAME▲

pskb_trim_rcsum - trim received skb and update checksum

2. SYNOPSIS ▲

int pskb_trim_rcsum(struct sk_buff *  skb , unsigned int  len );

3. ARGUMENTS ▲

skb
    buffer to trim

len
    new length

4. DESCRIPTION ▲

This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation.

5. COPYRIGHT ▲