SysTutorials

Linux Manual Pages › Section 9

skb_checksum_none_assert(9)

skb_checksum_none_assert - make sure skb ip_summed is CHECKSUM_NONE

Synopsis

void skb_checksum_none_assert(const struct sk_buff *skb);

Arguments

skb

skb to check

Description

fresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.

Copyright