Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2002 12:03:09 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Prafulla Deuskar <pdeuskar@FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: mbuf chain
Message-ID:  <20020925090309.GC597@hades.hell.gr>
In-Reply-To: <20020924135748.A53562@hub.freebsd.org>
References:  <20020924135748.A53562@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-09-24 13:57, Prafulla Deuskar <pdeuskar@FreeBSD.org> wrote:
> All,
>
> Is there a pre-set limit on maximum number of fragments in a
> mbuf chain ?

Not as a limit of the mbuf chain code, but as a limit of the IP packet
input code.  Look at the description of the ip_maxfragpackets sysctl
value in src/sys/netinet/ip_input.c

It is initialized by default to (nmbclusters / 4) in ip_init().

The relevant code, that enforces the limit, is near the beginning of
the ip_reass() function in the same file.

Giorgos.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020925090309.GC597>