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?
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
Adel
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies