Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04ea1b3e authored by Andy Adamson's avatar Andy Adamson Committed by Anna Schumaker
Browse files

NFS add xprt switch addrs test to match client

parent fda0ab41
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -313,6 +313,9 @@ static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *dat
			continue;
		/* Match the full socket address */
		if (!rpc_cmp_addr_port(sap, clap))
			/* Match all xprt_switch full socket addresses */
			if (!rpc_clnt_xprt_switch_has_addr(clp->cl_rpcclient,
							   sap))
				continue;

		atomic_inc(&clp->cl_count);