Marking an SKB as stolen

Adel Qodmani mpcadel at gmail.com
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?

Thanks,
Adel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130702/22761203/attachment.html 


More information about the Kernelnewbies mailing list