* Don't force FMR unmap on error if it wasn't mapped in the first place.
#define IBNAL_NTX 64 /* # tx descs */
#define IBNAL_NTX_NBLK 128 /* # reserved tx descs */
-/* reduced from 256 to ensure we register < 255 pages per region.
- * this can change if we register all memory. */
#define IBNAL_PEER_HASH_SIZE 101 /* # peer lists */
#if IBNAL_USE_FMR
if (tx->tx_md.md_fmrcount == 0 ||
- ptlrc != PTL_OK) {
+ (ptlrc != PTL_OK && tx->tx_md.md_active)) {
vv_return_t vvrc;
/* mapping must be active (it dropped fmrcount to 0) */