We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda0ab4 commit 04ea1b3Copy full SHA for 04ea1b3
fs/nfs/client.c
@@ -313,7 +313,10 @@ static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *dat
313
continue;
314
/* Match the full socket address */
315
if (!rpc_cmp_addr_port(sap, clap))
316
- continue;
+ /* Match all xprt_switch full socket addresses */
317
+ if (!rpc_clnt_xprt_switch_has_addr(clp->cl_rpcclient,
318
+ sap))
319
+ continue;
320
321
atomic_inc(&clp->cl_count);
322
return clp;
0 commit comments