diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-03-12 13:42:47 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-03-12 13:42:47 +0000 |
commit | 41a7572b26da5acade4565f8cf943b13ac6fedb5 (patch) | |
tree | 91f9ed9ed6b18b31bb287141a8f82517e9e22a5a /sys/net/bpf.c | |
parent | d43e357b6abb67e0b30c7223a9ed426779313f9e (diff) | |
download | src-test2-41a7572b26da5acade4565f8cf943b13ac6fedb5.tar.gz src-test2-41a7572b26da5acade4565f8cf943b13ac6fedb5.zip |
Notes
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index ba31c6681822..ce83e4aad27d 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -525,7 +525,7 @@ bpf_movein(struct uio *uio, int linktype, struct ifnet *ifp, struct mbuf **mp, if (len < hlen || len - hlen > ifp->if_mtu) return (EMSGSIZE); - m = m_get2(M_WAITOK, MT_DATA, M_PKTHDR, len); + m = m_get2(len, M_WAITOK, MT_DATA, M_PKTHDR); if (m == NULL) return (EIO); m->m_pkthdr.len = m->m_len = len; |