effea17dad
The wr_id should never be NULL - it will always correspond to a request we previously posted. Convert the check to an assert() so we notice if this ever happens (which would indicate a programming error somewhere else). While we're here, add a more robust check to make sure the request is actually in the correct array of requests for the connection being polled (also in an assert, since this should never fail in normal execution). Change-Id: I855763d7d827fb8cf00a775c7bc2ccb579db8d0f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
direct.c | ||
Makefile | ||
nvmf_internal.h | ||
nvmf.c | ||
rdma.c | ||
request.c | ||
request.h | ||
session.c | ||
session.h | ||
subsystem.c | ||
subsystem.h | ||
transport.c | ||
transport.h | ||
virtual.c |