i have written a new target for iptables i write the captured packets to my device driver's buffer, to have proper access to the buffer i need to protect the addition and deletion of buffers
which of the follwing two functions( or any other) should be used for locking spin_lock_irqsave() spin_lock_bh() any help or advice is appriciated thanx __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com