summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbpool.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-25 10:57:09 +0000
committerandre <andre@FreeBSD.org>2013-08-25 10:57:09 +0000
commit6c0efad132654ea9bfc4e58975d1d58ce8d4b424 (patch)
treec06b97898de2cde2e64243afc1672aebf11ef915 /sys/sys/mbpool.h
parent8e41c705d027e43af7d37c3bc669b20ac317fd2b (diff)
downloadFreeBSD-src-6c0efad132654ea9bfc4e58975d1d58ce8d4b424.zip
FreeBSD-src-6c0efad132654ea9bfc4e58975d1d58ce8d4b424.tar.gz
Give (*ext_free) an int return value allowing for very sophisticated
external mbuf buffer management capabilities in the future. For now only EXT_FREE_OK is defined with current legacy behavior. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sys/mbpool.h')
-rw-r--r--sys/sys/mbpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mbpool.h b/sys/sys/mbpool.h
index 48fd89e..585b66d 100644
--- a/sys/sys/mbpool.h
+++ b/sys/sys/mbpool.h
@@ -69,7 +69,7 @@ void *mbp_alloc(struct mbpool *, bus_addr_t *, uint32_t *);
void mbp_free(struct mbpool *, void *);
/* free a chunk that is an external mbuf */
-void mbp_ext_free(struct mbuf *, void *, void *);
+int mbp_ext_free(struct mbuf *, void *, void *);
/* free all buffers that are marked to be on the card */
void mbp_card_free(struct mbpool *);
OpenPOWER on IntegriCloud