Re: ng_ksocket as divert socket is broken

2004-11-12 Thread Gleb Smirnoff
Brian, I have finally resolved this problem. In case when ng_ksocket acts as divert socket, we get diverted packets returned from 'pseudo-userland' with their tags on them. In ip_divert.c rev 1.100 you do unconditional m_tag_prepend() of a new tag with cookie equal 0, and this sends packet

Re: ng_ksocket as divert socket is broken

2004-11-09 Thread Gleb Smirnoff
Brian, doing a serie of tests I have found that this commit has introduced regression described below: http://lists.freebsd.org/pipermail/cvs-src/2004-October/032888.html Now I'm working on this, but I'd be glad if you join. On Tue, Nov 09, 2004 at 11:29:03AM +0300, Gleb Smirnoff wrote: T>

ng_ksocket as divert socket is broken

2004-11-09 Thread Gleb Smirnoff
Andre, I've recently noticed a regression between RELENG_5 and CURRENT. In CURRENT ng_ksocket is unable to work as divert socket. Since you have touched divert code recently I'm asking you. Today I'm going to dig deeply there, but probably you can give some ideas without investigation. A test