Module Name: src Committed By: maxv Date: Thu Apr 26 07:46:24 UTC 2018
Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Change comment, to clearly say that m_prepend should not be used directly. To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194 src/sys/kern/uipc_mbuf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/uipc_mbuf.c diff -u src/sys/kern/uipc_mbuf.c:1.193 src/sys/kern/uipc_mbuf.c:1.194 --- src/sys/kern/uipc_mbuf.c:1.193 Fri Apr 20 06:01:59 2018 +++ src/sys/kern/uipc_mbuf.c Thu Apr 26 07:46:24 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_mbuf.c,v 1.193 2018/04/20 06:01:59 maxv Exp $ */ +/* $NetBSD: uipc_mbuf.c,v 1.194 2018/04/26 07:46:24 maxv Exp $ */ /* * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.193 2018/04/20 06:01:59 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.194 2018/04/26 07:46:24 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_mbuftrace.h" @@ -673,9 +673,7 @@ m_claimm(struct mbuf *m, struct mowner * */ /* - * Lesser-used path for M_PREPEND: - * allocate new mbuf to prepend to chain, - * copy junk along. + * Utility function for M_PREPEND. Do *NOT* use it directly. */ struct mbuf * m_prepend(struct mbuf *m, int len, int how)