Print this page
4463 NLM fails wrongly on clnt_control().
*** 148,158 ****
* this artificial delay when possible. We do not retry if the
* NULL request fails so it is safe for us to turn this option
* on.
*/
if (clnt_control(rpcp->nr_handle, CLSET_NODELAYONERR,
! (char *)&clset)) {
NLM_ERR("Unable to set CLSET_NODELAYONERR\n");
}
} else {
ret = clnt_tli_kinit(rpcp->nr_handle, &hostp->nh_knc,
&hostp->nh_addr, 0, NLM_RPC_RETRIES, CRED());
--- 148,158 ----
* this artificial delay when possible. We do not retry if the
* NULL request fails so it is safe for us to turn this option
* on.
*/
if (clnt_control(rpcp->nr_handle, CLSET_NODELAYONERR,
! (char *)&clset) == FALSE) {
NLM_ERR("Unable to set CLSET_NODELAYONERR\n");
}
} else {
ret = clnt_tli_kinit(rpcp->nr_handle, &hostp->nh_knc,
&hostp->nh_addr, 0, NLM_RPC_RETRIES, CRED());