| To: | alan@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | firewall code in 2.2.19 |
| From: | sridhar <sridharv@xxxxxxx> |
| Date: | Sat, 14 Jul 2001 16:52:26 -0400 |
| Sender: | owner-netdev@xxxxxxxxxxx |
hi alan , have a question about the firewall code in the 2.2.19 kernel. it has 2 functions called register_fw and call_fw. register adds a packet filter to the linked list and call_fw traverses the list and calls the appropriate functions. call_fw doesn't have any semaphores for accessing the linked list. isn't it necessary? register() uses a semaphore to prevent 2 ppl from adding at the same time. pl clarify sridhar first i thot it may be because a process may not be preempted in the kernel mode .. but doesn't seem so. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | OOPS in tcp_input.c..? (stock redhat, 2.4.2-2), Ray Pitmon |
|---|---|
| Next by Date: | Re: Diffserv and NetApplications, Chris Wedgwood |
| Previous by Thread: | OOPS in tcp_input.c..? (stock redhat, 2.4.2-2), Ray Pitmon |
| Next by Thread: | K7 unresolved symbols in modules, Main Dialup |
| Indexes: | [Date] [Thread] [Top] [All Lists] |