pskb_trim_rcsum — trim received skb and update checksum
int pskb_trim_rcsum (
)
skb
buffer to trim
len
new length
This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation.