summaryrefslogtreecommitdiffstats
path: root/sys/sys/sf_buf.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/sf_buf.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/sf_buf.h')
-rw-r--r--sys/sys/sf_buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sf_buf.h b/sys/sys/sf_buf.h
index 32aa304..4c37e00 100644
--- a/sys/sys/sf_buf.h
+++ b/sys/sys/sf_buf.h
@@ -67,6 +67,6 @@ extern counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)];
struct sf_buf *
sf_buf_alloc(struct vm_page *m, int flags);
void sf_buf_free(struct sf_buf *sf);
-void sf_buf_mext(struct mbuf *mb, void *addr, void *args);
+int sf_buf_mext(struct mbuf *mb, void *addr, void *args);
#endif /* !_SYS_SF_BUF_H_ */
OpenPOWER on IntegriCloud