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

Collapse All | Expand All

(-)sys/fs/nfsserver/nfs_nfsdstate.c (-4 lines)
Lines 722-729 nfsrv_getclient(nfsquad_t clientid, int opflags, struc 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 6442-6449 nfsrv_bindconnsess(struct nfsrv_descript *nd, uint8_t Link Here
6442
				SVC_ACQUIRE(nd->nd_xprt);
6440
				SVC_ACQUIRE(nd->nd_xprt);
6443
				nd->nd_xprt->xp_p2 =
6441
				nd->nd_xprt->xp_p2 =
6444
				    clp->lc_req.nr_client->cl_private;
6442
				    clp->lc_req.nr_client->cl_private;
6445
				/* Disable idle timeout. */
6446
				nd->nd_xprt->xp_idletimeout = 0;
6447
				sep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
6443
				sep->sess_cbsess.nfsess_xprt = nd->nd_xprt;
6448
				sep->sess_crflags |= NFSV4CRSESS_CONNBACKCHAN;
6444
				sep->sess_crflags |= NFSV4CRSESS_CONNBACKCHAN;
6449
				clp->lc_flags |= LCL_DONEBINDCONN |
6445
				clp->lc_flags |= LCL_DONEBINDCONN |

Return to bug 254590