skb_push_rcsum(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, this is the skb_push_rcsum(9) page from the Kernel API Manual β€” push skb and update receive checksum. That’s the whole name, no cap πŸ’….


✨ SYNOPSIS ✨

void * skb_push_rcsum (struct sk_buff *skb , unsigned int len );

🫢 ARGUMENTS 🫢

  • skb β€” the buffer to update. main character energy, obviously ✨
  • len β€” length of data pulled. yes bestie, pulled, that’s what the page says 🫢

πŸ’… DESCRIPTION πŸ’…

okay so here’s the vibe: this function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. slay. 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.

lowkey important, bestie: the page says use this on receive path processing instead of skb_push unless that checksum difference is zero (e.g., a valid IP header) or you’re setting ip_summed to CHECKSUM_NONE. that’s the caveat, periodt πŸ’€

🌈 SEE ALSO 🌈

SEE ALSO is giving the entire sk_buff friend group, and you’re gonna want the receipts:


xoxo, your kernel bestie πŸ’– β€” source/version: ./include/linux Β· date: October 2026.

πŸ“¦ where this page comes from