xprtrdma: Expose transport header errors
For better observability of parsing errors, return the error code generated in the decoders to the upper layer consumer. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Родитель
889ee07f7e
Коммит
236b0943d1
|
@ -1246,7 +1246,6 @@ out:
|
||||||
out_badheader:
|
out_badheader:
|
||||||
trace_xprtrdma_reply_hdr(rep);
|
trace_xprtrdma_reply_hdr(rep);
|
||||||
r_xprt->rx_stats.bad_reply_count++;
|
r_xprt->rx_stats.bad_reply_count++;
|
||||||
status = -EIO;
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче