diff options
author | Brian Somers <brian@FreeBSD.org> | 1999-06-02 15:59:09 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1999-06-02 15:59:09 +0000 |
commit | 411675bae35766a6137a33683240c043896ea3da (patch) | |
tree | ed7035ac811f6d1f9c1fd070386dd2caced8bb08 /usr.sbin/ppp/link.c | |
parent | 3f9d7b80b279741348818efdc101dc225e85a2ef (diff) | |
download | src-411675bae35766a6137a33683240c043896ea3da.tar.gz src-411675bae35766a6137a33683240c043896ea3da.zip |
o Alter the mbuf type as it's processed by different layers.
o Show more information about missing MP fragments in ``show mp''.
o Do away with mbuf_Log(). It was showing mbuf stats twice on
receipt of LCP/CCP/IPCP packets.... ???!!?
o Pre-allocate a bit extra when creating LQR packets to avoid having
to allocate another mbuf in mbuf_Prepend().
Notes
Notes:
svn path=/head/; revision=47695
Diffstat (limited to 'usr.sbin/ppp/link.c')
-rw-r--r-- | usr.sbin/ppp/link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/link.c b/usr.sbin/ppp/link.c index 9cc1d51dc408..e4ba819708c7 100644 --- a/usr.sbin/ppp/link.c +++ b/usr.sbin/ppp/link.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: link.c,v 1.10 1999/05/12 09:48:51 brian Exp $ + * $Id: link.c,v 1.11 1999/05/15 02:24:18 brian Exp $ * */ @@ -245,7 +245,7 @@ link_PullPacket(struct link *l, char *buf, size_t len, struct bundle *b) link_AddInOctets(l, len); memset(lbp, '\0', sizeof lbp); - lbp[0] = mbuf_Alloc(len, MB_ASYNC); + lbp[0] = mbuf_Alloc(len, MB_UNKNOWN); memcpy(MBUF_CTOP(lbp[0]), buf, len); lproto[0] = 0; layer = 0; |