View | Details | Raw Unified | Return to bug 254590 | Differences between
and this patch

Collapse All | Expand All

(-)sys/fs/nfsserver/nfs_nfsdstate.c (-5 lines)
Lines 722-729 Link Here
722
				SVC_ACQUIRE(nd->nd_xprt);
722
				SVC_ACQUIRE(nd->nd_xprt);
723
				nd->nd_xprt->xp_p2 =
723
				nd->nd_xprt->xp_p2 =
724
				    clp->lc_req.nr_client->cl_private;
724
				    clp->lc_req.nr_client->cl_private;
725
				/* Disable idle timeout. */
726
				nd->nd_xprt->xp_idletimeout = 0;
727
				nsep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
725
				nsep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
728
			    } else
726
			    } else
729
				nsep->sess_crflags &= ~NFSV4CRSESS_CONNBACKCHAN;
727
				nsep->sess_crflags &= ~NFSV4CRSESS_CONNBACKCHAN;
Lines 6255-6261 Link Here
6255
		SVC_ACQUIRE(nd->nd_xprt);
6253
		SVC_ACQUIRE(nd->nd_xprt);
6256
		nd->nd_xprt->xp_p2 =
6254
		nd->nd_xprt->xp_p2 =
6257
		    sep->sess_clp->lc_req.nr_client->cl_private;
6255
		    sep->sess_clp->lc_req.nr_client->cl_private;
6258
		nd->nd_xprt->xp_idletimeout = 0;	/* Disable timeout. */
6259
		sep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
6256
		sep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
6260
	}
6257
	}
6261
6258
Lines 6460-6467 Link Here
6460
				SVC_ACQUIRE(nd->nd_xprt);
6457
				SVC_ACQUIRE(nd->nd_xprt);
6461
				nd->nd_xprt->xp_p2 =
6458
				nd->nd_xprt->xp_p2 =
6462
				    clp->lc_req.nr_client->cl_private;
6459
				    clp->lc_req.nr_client->cl_private;
6463
				/* Disable idle timeout. */
6464
				nd->nd_xprt->xp_idletimeout = 0;
6465
				sep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
6460
				sep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
6466
				sep->sess_crflags |= NFSV4CRSESS_CONNBACKCHAN;
6461
				sep->sess_crflags |= NFSV4CRSESS_CONNBACKCHAN;
6467
				clp->lc_flags |= LCL_DONEBINDCONN;
6462
				clp->lc_flags |= LCL_DONEBINDCONN;

Return to bug 254590