Previously a null buffer on read would get passed on which would be fine for a simple example but for something more complex where the module in question might need that buffer at some time after the read callback, it's possible that an underlying module might free it too soon. So, to be a good example we now own the buffer in this module. Change-Id: I411477e83b1e222c64011688952cfd587c32c16e Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/422603 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_passthru_rpc.c | ||
vbdev_passthru.c | ||
vbdev_passthru.h |