]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a workaround for servers which respond RPC_PROGNOTREGISTERED
authorhrs <hrs@FreeBSD.org>
Sat, 21 Sep 2019 00:17:40 +0000 (00:17 +0000)
committerhrs <hrs@FreeBSD.org>
Sat, 21 Sep 2019 00:17:40 +0000 (00:17 +0000)
commit45c46210f88db0b6a59cebaf1aac9544041ca4ff
treecfeb461e344c3d022226d574376624852fb519fc
parent5c3b8487ed7fa170d0940cace5668d78dfd6a1d6
Add a workaround for servers which respond RPC_PROGNOTREGISTERED
to a clnt_create() call even when it is actually a program
version mismatch.

Normally the server is supposed to return RPC_PROGVERSMISMATCH
when it supports the specified program but not support
the specified version.  Some filers return RPC_PROGNOTREGISTERED
to RQUOTA v2 calls and FreeBSD does not retry with the old
v1 calls.  This change fixes this failure scenario.

Submitted by: Jian-Bo Liao
PR: 236179
usr.bin/quota/quota.c