diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-26 07:17:12 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-26 07:17:12 +0000 |
commit | 92fae650a54332904bed9c6e20b08d3dff62111e (patch) | |
tree | 33943f7db2a21062b96283e571310195d25f16c5 | |
parent | bbee2b0411f55c440723abbe2fe414b6ba501384 (diff) |
Use MALLOC/FREE to allocate/free PCBs, instead of using MT_PCB
mbuf/clusters. My first commit of this died halfway through, so
although it did make it in, there was no message sent to the list.
-rw-r--r-- | sys/netatalk/ddp_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 2b2ab3dd2dc..a2285883e92 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ddp_usrreq.c,v 1.3 2001/05/26 07:14:02 angelos Exp $ */ +/* $OpenBSD: ddp_usrreq.c,v 1.4 2001/05/26 07:17:11 angelos Exp $ */ /* * Copyright (c) 1990,1994 Regents of The University of Michigan. @@ -462,7 +462,7 @@ at_pcballoc( so ) { struct ddpcb *ddp; - MALLOC(ddp, struct ddpcb *, sizeof(*ddp), M_PCB, M_NOWAIT); + MALLOC( ddp, struct ddpcb *, sizeof(*ddp), M_PCB, M_NOWAIT ); if ( ddp == NULL ) { return (ENOBUFS); } @@ -517,7 +517,7 @@ at_pcbdetach( so, ddp ) ddp->ddp_next->ddp_prev = ddp->ddp_prev; } - free(ddp, M_PCB); + FREE( ddp, M_PCB ); } /* |