aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2016-03-01 13:06:47 -0500
committerJ. Bruce Fields <[email protected]>2016-03-01 13:06:39 -0800
commitf3ea53fb3bc3908b6e9ef39e53a75b55df7f78f8 (patch)
tree8a4114f5dcdffce6166fbf77eded7b2638d4c2ee /tools/perf/scripts/python/sched-migration.py
parenta6081b82c533d78041acb76738716aa7dafb339a (diff)
svcrdma: Use correct XID in error replies
When constructing an error reply, svc_rdma_xdr_encode_error() needs to view the client's request message so it can get the failing request's XID. svc_rdma_xdr_decode_req() is supposed to return a pointer to the client's request header. But if it fails to decode the client's message (and thus an error reply is needed) it does not return the pointer. The server then sends a bogus XID in the error reply. Instead, unconditionally generate the pointer to the client's header in svc_rdma_recvfrom(), and pass that pointer to both functions. Signed-off-by: Chuck Lever <[email protected]> Reviewed-by: Devesh Sharma <[email protected]> Tested-by: Devesh Sharma <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions