diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2016-09-08 01:02:53 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2016-09-08 01:02:53 +0000 |
commit | cee4a056691e41b8143412681fa4b2c4f357a63d (patch) | |
tree | e40066bcdda8f0a7bb9d00267c80cbc0eb2d46ef /sys/kern/uipc_mbuf.c | |
parent | ef136816313fc0b751b146bba237ce86560485b2 (diff) | |
download | src-cee4a056691e41b8143412681fa4b2c4f357a63d.tar.gz src-cee4a056691e41b8143412681fa4b2c4f357a63d.zip |
Notes
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 84354f3454b7..8c5ee7818e6d 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -984,7 +984,7 @@ m_devget(char *buf, int totlen, int off, struct ifnet *ifp, len = MHLEN; /* Place initial small packet/header at end of mbuf */ - if (m && totlen + off + max_linkhdr <= MLEN) { + if (m && totlen + off + max_linkhdr <= MHLEN) { m->m_data += max_linkhdr; len -= max_linkhdr; } |