Skip to contentSkip to conversation

Locking in iptables target functions

DISCUSSION Rennie deGraaf 2 participants 2 messages Apr 12, 2007 – Apr 13, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

Are interrupts disabled while iptables match and target functions are being evaluated? If so, then is there an efficient method to test this?
If not, they why does the kernel complain when I attempt to acquire a
spinlock from within a target function?

Rennie deGraaf

#1 lore raw
Quoted 2 lines · Rennie deGraaf

Are interrupts disabled while iptables match and target functions are being evaluated?

No.

Quoted 3 lines

If so, then is there an efficient method to test this?
If not, they why does the kernel complain when I attempt to acquire a
spinlock from within a target function?

Impossible to tell without seeing the error.