Data iov extra prints.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
In crypto module's files there are "#ifdef" statements that check
if USE_CRYPTOPP or USE_NSS are set. But there was no "add_definitions"
statement in CMakeLists.txt that sets neither, add it.

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix for double define.  It's also in config-h.in.cmake.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Fix XioMsg finalization.

This fixes the leak of XioMsg and xio_msg structures on the
requester side, and ensures responder acknowledgement and
requester finalization in the case of decoding failure.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Remove unnecessary spinlock.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
XioMsg helper cleanups.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Use placement new to allocate/free XioMsg objects.

The valgrind on our test system was seeing false positives
for use after free due to failure to patch C++ new/delete
correctly.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>