On Wed, Jun 13, 2018 at 01:20:29PM +0900, YASUOKA Masahiko wrote:
> > The MCLGET() cannot be called anymore. Can we remove it and add a
> > compile time assert instead?
> >
> > CTASSERT(sizeof(struct ip) + sizeof(struct tcphdr) <= MHLEN);
> > CTASSERT(sizeof(struct ip6_hdr) +
On Wed, 13 Jun 2018 00:34:28 +0200
Alexander Bluhm wrote:
> On Tue, Jun 12, 2018 at 01:46:48PM +0900, YASUOKA Masahiko wrote:
>> > I found this because I wonder why my company, IIJ's HTTP proxy servers
>> > started using a lot of mbuf clusters after a certain version.
>
> Are you using IPv4 or
On Wed, Jun 13, 2018 at 12:34:28AM +0200, Alexander Bluhm wrote:
> On Tue, Jun 12, 2018 at 01:46:48PM +0900, YASUOKA Masahiko wrote:
> > > I found this because I wonder why my company, IIJ's HTTP proxy servers
> > > started using a lot of mbuf clusters after a certain version.
>
> Are you using
On Tue, Jun 12, 2018 at 01:46:48PM +0900, YASUOKA Masahiko wrote:
> > I found this because I wonder why my company, IIJ's HTTP proxy servers
> > started using a lot of mbuf clusters after a certain version.
Are you using IPv4 or IPv6?
> > + if (m->m_len + sizeof(struct tcphdr) >=
Let me update the diff
On Tue, 12 Jun 2018 13:39:51 +0900 (JST)
YASUOKA Masahiko wrote:
> Currently t_template of tcpcb is a mbuf cluster. This happened when
> max_linkhdr is increased from 16 to 64 (1.44 of
> sys/kern/uipc_domain.c).
>
> I found this because I wonder why my company, IIJ's
Currently t_template of tcpcb is a mbuf cluster. This happened when
max_linkhdr is increased from 16 to 64 (1.44 of
sys/kern/uipc_domain.c).
I found this because I wonder why my company, IIJ's HTTP proxy servers
started using a lot of mbuf clusters after a certain version.
ok?
It doesn't seem