Marking an SKB as stolen

Adel Qodmani mpcadel at
Tue Jul 2 13:30:54 EDT 2013

Hello everyone,

In any Netfilter hook, we return NF_STOLEN to mark that we're handling the
packet and we'd be responsible for its fate.

My question is, my hook calls several functions on the SKB before knowing
if I want to steal it or not so is there a way to just mark the SKB itself
as stolen instead of using the hook NF_STOLEN return code?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list