skb_cloned - is the buffer a clone
int skb_cloned(const struct sk_buff * skb);
Returns true if the buffer was generated with skb_clone and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.
|January 2017||Kernel Hackers Manual 4.8.|