Re: m_pullup - fail

2012-02-08 Thread Gleb Smirnoff
On Fri, Feb 03, 2012 at 07:03:11AM +0900, rozhuk...@gmail.com wrote: r> I am writing a netgraph node for processing UDP packets passing through the r> router / bridge. r> Node must fully inspect the entire contents of the package, in some cases, r> change them. In this case you need something like

RE: m_pullup - fail

2012-02-02 Thread rozhuk . im
> To: rozhuk...@gmail.com > Cc: freebsd-net@freebsd.org > Subject: Re: m_pullup - fail > > On 2/1/12 11:07 AM, rozhuk...@gmail.com wrote: > > Hello! > > > > > > The function always returns an error and remove the chain MBUF for > two > > or more gener

RE: m_pullup - fail

2012-02-02 Thread rozhuk . im
if (m == NULL) goto bad; m->m_len = 0; if (n->m_flags & M_PKTHDR) M_MOVE_PKTHDR(m, n); } > -Original Message- > From: Navdeep Parhar [mailto:npar...@gmail.com] > Sent: Thursday, Februar

Re: m_pullup - fail

2012-02-01 Thread Navdeep Parhar
On Wed, Feb 1, 2012 at 11:07 AM, wrote: > Hello! > > > The function always returns an error and remove the chain MBUF for two or > more generated on the same host. > If the pre-call m_defrag no error occurs. > This is normal behavior? > How to know in advance the maximum size for MBUF that does n

Re: m_pullup - fail

2012-02-01 Thread Julian Elischer
On 2/1/12 11:07 AM, rozhuk...@gmail.com wrote: Hello! The function always returns an error and remove the chain MBUF for two or more generated on the same host. If the pre-call m_defrag no error occurs. This is normal behavior? How to know in advance the maximum size for MBUF that does not caus

m_pullup - fail

2012-02-01 Thread rozhuk . im
Hello! The function always returns an error and remove the chain MBUF for two or more generated on the same host. If the pre-call m_defrag no error occurs. This is normal behavior? How to know in advance the maximum size for MBUF that does not cause a failure in m_pullup? mbuf: 0xfe0074fc06