From 28de90159db6cc70d9779634c656c56052c9cd6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 28 Sep 2008 21:32:59 +0000 Subject: [PATCH] * As Adek336 found out, our definition of MHLEN was wrong, and that actually caused lots of bugs (like #2758, and obviously also #1641). Thanks a lot!! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27771 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/libs/compat/freebsd_network/compat/sys/mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/compat/freebsd_network/compat/sys/mbuf.h b/src/libs/compat/freebsd_network/compat/sys/mbuf.h index f26227cbc6..da90a86f8c 100644 --- a/src/libs/compat/freebsd_network/compat/sys/mbuf.h +++ b/src/libs/compat/freebsd_network/compat/sys/mbuf.h @@ -11,7 +11,7 @@ #define MLEN ((int)(MSIZE - sizeof(struct m_hdr))) -#define MHLEN ((int)(MSIZE - sizeof(struct pkthdr))) +#define MHLEN ((int)(MLEN - sizeof(struct pkthdr))) #define MINCLSIZE (MHLEN + 1)