HomeFreeBSD

Fix clnt_vc_soupcall() for the case where a server uses multiple TCP

Description

Fix clnt_vc_soupcall() for the case where a server uses multiple TCP
record fragments.

In practice, I do not believe that any extant NFS servers generate
an RPC reply message in multiple TCP record fragments.
The code in head is broken for this case, too.
However, the patch fixes this case.
It also changes the code to force a TCP reconnect when a bogus
RPC message record is received, since the data in the TCP stream must
be corrupted.

Details

Provenance
rmacklemAuthored on
Parents
rS362153: Simpify a condition, no functional change.
Branches
Unknown
Tags
Unknown