X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..4b17d6b6e417f714551ec129064745ea9919780e:/bsd/netinet/tcp_subr.c?ds=inline diff --git a/bsd/netinet/tcp_subr.c b/bsd/netinet/tcp_subr.c index 355d4f0d5..531b37fa9 100644 --- a/bsd/netinet/tcp_subr.c +++ b/bsd/netinet/tcp_subr.c @@ -414,7 +414,7 @@ tcp_init() _max_protohdr = TCP_MINPROTOHDR; _max_protohdr = max_protohdr; /* round it up */ } - if (max_linkhdr + max_protohdr > MHLEN) + if (max_linkhdr + max_protohdr > MCLBYTES) panic("tcp_init"); #undef TCP_MINPROTOHDR