Skip to contentSkip to conversation

reentrant requirement for nfq_callback

DISCUSSION Christopher Taylor 1 participant 2 messages Mar 31, 2008 – Apr 1, 2008 netfilter

lore
Share & tools
lore
#0 lore raw

I'm assuming that nfq_callback must be reentrant, is this correct?

Respectfully,
Christopher Taylor

#1 lore raw

Ok, I admit that was a rather stupid question. For the sake of anyone else googling this later:

1) nfq_callback maps to nfnl_callback and there's no such requirement on nfnl_callback
2) More obviously, one must provide a response via nfq_set_verdict (NF_ACCEPT, NF_DROP, NF_STOLEN, etc) before the next invocation of the callback.

Hope this helps someone else!

-Chris

Quoted 5 lines · Christopher Taylor

I'm assuming that nfq_callback must be reentrant, is this correct?

Respectfully,
Christopher Taylor