skb_header_cloned(9) is the header a clone

SYNOPSIS

int skb_header_cloned(const struct sk_buff * skb);

ARGUMENTS

skb

buffer to check

DESCRIPTION

Returns true if modifying the header part of the buffer requires the data to be copied.

COPYRIGHT