libnfs
libnfs copied to clipboard
All fragments should be deleted when reconnecting.
I think rpc_reconnect_requeue should call rpc_free_all_fragments when resetting the state of the rpc context, otherwise any fragments already received before the reconnection will be left over and reused when trying to receive new payloads, which may lead to incorrectly interpreted responses.