diff options
author | andre <andre@FreeBSD.org> | 2013-08-24 16:57:44 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2013-08-24 16:57:44 +0000 |
commit | b148bf45e00854fc92a79e2434843fc0ced325ba (patch) | |
tree | d9cb73f9fc061a57daf8eba0e946e359dfddf04c /sys/dev/mwl | |
parent | b7d376ce03e400fd642a642d69997ab017a9466e (diff) | |
download | FreeBSD-src-b148bf45e00854fc92a79e2434843fc0ced325ba.zip FreeBSD-src-b148bf45e00854fc92a79e2434843fc0ced325ba.tar.gz |
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
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r-- | sys/dev/mwl/if_mwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index 1d2b6e3..ecc74a5 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -2622,7 +2622,7 @@ mwl_rxbuf_init(struct mwl_softc *sc, struct mwl_rxbuf *bf) } static void -mwl_ext_free(void *data, void *arg) +mwl_ext_free(struct mbuf *m, void *data, void *arg) { struct mwl_softc *sc = arg; |