From b148bf45e00854fc92a79e2434843fc0ced325ba Mon Sep 17 00:00:00 2001 From: andre Date: Sat, 24 Aug 2013 16:57:44 +0000 Subject: Add an mbuf pointer parameter to (*ext_free) to give the external free function access to the mbuf the external memory was attached to. Mechanically adjust all users to include the mbuf parameter. This fixes a long standing annoyance for external free functions. Before one had to sacrifice one of the argument pointers for this. Sponsored by: The FreeBSD Foundation --- sys/sys/mbpool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/sys/mbpool.h') diff --git a/sys/sys/mbpool.h b/sys/sys/mbpool.h index f292f29..48fd89e 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(void *, void *); +void mbp_ext_free(struct mbuf *, void *, void *); /* free all buffers that are marked to be on the card */ void mbp_card_free(struct mbpool *); -- cgit v1.1