skb_push_rcsum (9) - Linux Man Pages
skb_push_rcsum: push skb and update receive checksum
skb_push_rcsum - push skb and update receive checksum
unsigned char * skb_push_rcsum(struct sk_buff
*skb, unsigned int len);
- buffer to update
- length of data pulled
This function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.