Space and style(9) corrections for recent mbuf changes.
This commit is contained in:
parent
dae2d550d6
commit
c8f59118be
@ -939,8 +939,8 @@ m_extadd(struct mbuf *mb, caddr_t buf, u_int size,
|
||||
void
|
||||
m_freem(struct mbuf *mb)
|
||||
{
|
||||
MBUF_PROBE1(m__freem, mb);
|
||||
|
||||
MBUF_PROBE1(m__freem, mb);
|
||||
while (mb != NULL)
|
||||
mb = m_free(mb);
|
||||
}
|
||||
|
@ -690,7 +690,7 @@ m_getzone(int size)
|
||||
static __inline int
|
||||
m_init(struct mbuf *m, int how, short type, int flags)
|
||||
{
|
||||
int error = 0;
|
||||
int error;
|
||||
|
||||
m->m_next = NULL;
|
||||
m->m_nextpkt = NULL;
|
||||
@ -700,6 +700,8 @@ m_init(struct mbuf *m, int how, short type, int flags)
|
||||
m->m_type = type;
|
||||
if (flags & M_PKTHDR)
|
||||
error = m_pkthdr_init(m, how);
|
||||
else
|
||||
error = 0;
|
||||
|
||||
MBUF_PROBE5(m__init, m, how, type, flags, error);
|
||||
return (error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user