Module Name: src Committed By: maxv Date: Tue Apr 10 15:27:35 UTC 2018
Modified Files: src/sys/kern: uipc_mbuf.c src/sys/sys: mbuf.h Log Message: Localify m_ext_free. To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/sys/kern/uipc_mbuf.c cvs rdiff -u -r1.180 -r1.181 src/sys/sys/mbuf.h 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.184 src/sys/kern/uipc_mbuf.c:1.185 --- src/sys/kern/uipc_mbuf.c:1.184 Wed Mar 21 17:03:09 2018 +++ src/sys/kern/uipc_mbuf.c Tue Apr 10 15:27:35 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_mbuf.c,v 1.184 2018/03/21 17:03:09 maxv Exp $ */ +/* $NetBSD: uipc_mbuf.c,v 1.185 2018/04/10 15:27:35 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.184 2018/03/21 17:03:09 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.185 2018/04/10 15:27:35 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_mbuftrace.h" @@ -1717,12 +1717,11 @@ m_getptr(struct mbuf *m, int loc, int *o } /* - * m_ext_free: release a reference to the mbuf external storage. + * Release a reference to the mbuf external storage. * * => free the mbuf m itself as well. */ - -void +static void m_ext_free(struct mbuf *m) { const bool embedded = MEXT_ISEMBEDDED(m); Index: src/sys/sys/mbuf.h diff -u src/sys/sys/mbuf.h:1.180 src/sys/sys/mbuf.h:1.181 --- src/sys/sys/mbuf.h:1.180 Wed Mar 21 17:03:09 2018 +++ src/sys/sys/mbuf.h Tue Apr 10 15:27:35 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: mbuf.h,v 1.180 2018/03/21 17:03:09 maxv Exp $ */ +/* $NetBSD: mbuf.h,v 1.181 2018/04/10 15:27:35 maxv Exp $ */ /* * Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc. @@ -864,7 +864,6 @@ struct mbuf *m_free(struct mbuf *); void m_freem(struct mbuf *); void m_reclaim(void *, int); void mbinit(void); -void m_ext_free(struct mbuf *); void m_move_pkthdr(struct mbuf *, struct mbuf *); bool m_ensure_contig(struct mbuf **, int);