skb_postpull_rcsum(9)

skb_postpull_rcsum9

Update checksum for received skb after pull

Usage

void skb_postpull_rcsum(struct sk_buff * skb, const void * start, unsigned int len);

Arguments

skb

buffer to update

start

start of data before pull

len

length of data pulled

Overview

After doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.