Re: ip xfrm bug

2007-12-23 Thread jamal
On Sun, 2007-16-12 at 15:43 +0800, Herbert Xu wrote: > Jamal's going to hate me but setkey(8) already uses this so we're > stuck with it anyway. > > The test is > > up->index % 8 >= 3 > > This is true iff it's a socket policy. I would have loved it if user space had a say ;-> In the cas

Re: ip xfrm bug

2007-12-15 Thread Herbert Xu
On Fri, Dec 14, 2007 at 11:21:18AM -0800, Stephen Hemminger wrote: > > I can see where to filter these, but I am ignorant of how to > identify the socket policies. Are they just marked as sub-policies? Jamal's going to hate me but setkey(8) already uses this so we're stuck with it anyway. The tes