summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-30 20:07:49 +0000
committerandre <andre@FreeBSD.org>2005-08-30 20:07:49 +0000
commit51994fffc4be5615daf8f50fd8d04ebfcde141fb (patch)
treee5328ef2cb989bbdd52bd14657a08afebfd181c7 /sys/sys/mbuf.h
parent202872e9e687e8cc11a6302ad1aa8d0781556ccd (diff)
downloadFreeBSD-src-51994fffc4be5615daf8f50fd8d04ebfcde141fb.zip
FreeBSD-src-51994fffc4be5615daf8f50fd8d04ebfcde141fb.tar.gz
o Remove the 'all' flag from m_demote(). Users can simply call it with
m_demote(m->m_next) if they wish to start at the second mbuf in chain. o Test m_type with == instead of &. o Check m_nextpkt against NULL instead of implicit 0. Based on feedback from: sam
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r--sys/sys/mbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 7696fa4..96de920 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -579,7 +579,7 @@ struct mbuf *m_copypacket(struct mbuf *, int);
void m_copy_pkthdr(struct mbuf *, struct mbuf *);
struct mbuf *m_copyup(struct mbuf *n, int len, int dstoff);
struct mbuf *m_defrag(struct mbuf *, int);
-void m_demote(struct mbuf *, int);
+void m_demote(struct mbuf *);
struct mbuf *m_devget(char *, int, int, struct ifnet *,
void (*)(char *, caddr_t, u_int));
struct mbuf *m_dup(struct mbuf *, int);
OpenPOWER on IntegriCloud