]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/tcp_subr.c
xnu-2050.18.24.tar.gz
[apple/xnu.git] / bsd / netinet / tcp_subr.c
index 355d4f0d5b8d3a7b35f75784dcd3e915717f39c2..531b37fa9e08ead34e37384e5add75eda290437d 100644 (file)
@@ -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