diff options
author | brian <brian@FreeBSD.org> | 1999-12-30 13:27:15 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-12-30 13:27:15 +0000 |
commit | d229c8a13c2216189320fb983ddf4e7b04f026f0 (patch) | |
tree | f950fcf7aebcf5bdc191fd5cd417bf47da629e66 /usr.sbin/ppp/mbuf.h | |
parent | 1f35ac704665128c161bfcf29edfe93dd494f924 (diff) | |
download | FreeBSD-src-d229c8a13c2216189320fb983ddf4e7b04f026f0.zip FreeBSD-src-d229c8a13c2216189320fb983ddf4e7b04f026f0.tar.gz |
Increase M_MAXLEN from 2048 - sizeof struct mbuf to
4096 - sizeof struct mbuf, and set MAX_MRU and MAX_MTU
back to 2048.
2048 is big enough as an MTU/MRU, but we need to be able
to allocate larger mbufs after reassembling IP fragments.
Diffstat (limited to 'usr.sbin/ppp/mbuf.h')
-rw-r--r-- | usr.sbin/ppp/mbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/mbuf.h b/usr.sbin/ppp/mbuf.h index b8a2f06..20921cc 100644 --- a/usr.sbin/ppp/mbuf.h +++ b/usr.sbin/ppp/mbuf.h @@ -83,7 +83,7 @@ struct mqueue { #define MB_UNKNOWN 38 #define MB_MAX MB_UNKNOWN -#define M_MAXLEN (2048 - sizeof(struct mbuf)) +#define M_MAXLEN (4096 - sizeof(struct mbuf)) struct cmdargs; |