Re: Is this a bug in linux-2.6.12 ipsec code function xfrm4_rcv_encap ??

2005-07-22 Thread k8 s
I AM SORRY FOR THE PREVIOUS MAIL. I am correcting my previous mail. Infact I see only One race(not three as was wrongly pointed out). I commented out the section once again where the race might be. On 7/23/05, k8 s <[EMAIL PROTECTED]> wrote: > Hello, > I see a possible race in

Is this a bug in linux-2.6.12 ipsec code function xfrm4_rcv_encap ??

2005-07-22 Thread k8 s
Hello, I see a possible race in linux-2.6.12 ipsec code function xfrm4_rcv_encap. I want to double check with the group. The issue is with SMP(mostly) or Preemptible Kernels. The race comes when someone flushes the SA's (setkey -Fexecuting on another processor ) while xfrm_rcv_encap is executing

compiling Kernel Modules with debugging information enabled

2005-07-16 Thread k8 s
Hello, How can I compile a kernel module ,that is statically compiled at the kernel compilation time, with debugging information. To be more clear, say I have selected CONFIG_XFRM=y in .config file I want to make a change such that net/xfrm/Makefile has an entry CFLAGS += -g so that it generates