diff options
author | silby <silby@FreeBSD.org> | 2003-05-09 02:15:52 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-05-09 02:15:52 +0000 |
commit | fed900cd9ff6f4d72848b9cbdd7a20ecaa467a90 (patch) | |
tree | b510c952bb7cabaf08197bee080b15d5ad91a966 /sys | |
parent | 2a876b006b2cd940d1d88e2e350457e758e21b1c (diff) | |
download | FreeBSD-src-fed900cd9ff6f4d72848b9cbdd7a20ecaa467a90.zip FreeBSD-src-fed900cd9ff6f4d72848b9cbdd7a20ecaa467a90.tar.gz |
Redefine M_FREELIST to be 0x8000; 0x4000 conflicted with two other
uses of m_flags in the kernel. (A future commit will move all
private m_flags users here so they're obvious without a great
deal of searching.)
This should fix the mbuf double-free panics those using ppp or
ipfw reset rules have been seeing since the double-free detection
code went in.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/mbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 8a27462..a0e4b47 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -153,7 +153,7 @@ struct mbuf { #define M_PROTO3 0x0040 /* protocol-specific */ #define M_PROTO4 0x0080 /* protocol-specific */ #define M_PROTO5 0x0100 /* protocol-specific */ -#define M_FREELIST 0x4000 /* mbuf is on the free list */ +#define M_FREELIST 0x8000 /* mbuf is on the free list */ /* * mbuf pkthdr flags (also stored in m_flags). |