rem: tp->snd_ssthresh = max(2 * mss, rt->rt_rmx.rmx_ssthresh);
add: tp->snd_ssthresh = max(2 * mss, (int) rt->rt_rmx.rmx_ssthresh);
context: int tcp_mss(struct tcpcb *tp, uint offer){	struct route *ro;	struct rtentry *rt;	struct ifnet *ifp;	int rtt, mss;	uint32 bufsize;	struct inpcb *inp;	struct socket *so;		inp = tp->t_inpcb;	ro = &inp->inp_route;	if ((rt = ro->ro_rt) == NULL) {		/* don't have a route, get one if we can */		if (inp->faddr.s_addr != INADDR_ANY) {			memset(&ro->ro_dst, 0, sizeof(ro->ro_dst));			ro->ro_dst.sa_family = AF_INET;			ro->ro_dst.sa_len = sizeof(ro->ro_dst);			((struct sockaddr_in *)&ro->ro_dst)->sin_addr = inp->faddr;			rtalloc(ro);		}		if ((rt = ro->ro_rt) == NULL)			return tcp_mssdflt;	}	ifp=rt->rt_ifp;	so = inp->inp_socket;		if (tp->t_srtt == 0 && (rtt = rt->rt_rmx.rmx_rtt)) {		if (rt->rt_rmx.rmx_locks & RTV_RTT)			tp->t_rttmin = rtt / (RTM_RTTUNIT / PR_SLOWHZ);		tp->t_srtt = rtt / (RTM_RTTUNIT / (PR_SLOWHZ * TCP_RTT_SCALE));				if (rt->rt_rmx.rmx_rttvar)			tp->t_rttvar = rt->rt_rmx.rmx_rttvar / 			               (RTM_RTTUNIT / (PR_SLOWHZ * TCP_RTTVAR_SCALE));		else			tp->t_rttvar = tp->t_srtt * TCP_RTTVAR_SCALE / TCP_RTT_SCALE;				TCPT_RANGESET(tp->t_rxtcur,		              ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1,		              tp->t_rttmin, TCPTV_REXMTMAX);	}		if (rt->rt_rmx.rmx_mtu)		mss = rt->rt_rmx.rmx_mtu - sizeof(struct tcpiphdr);	else {		mss = ifp->if_mtu - sizeof(struct tcpiphdr);#if (MCLBYTES & (MCLBYTES - 1)) == 0		if (mss > MCLBYTES)			mss &=~ (MCLBYTES - 1);else		if (mss > MCLBYTES)			mss = mss / MCLBYTES * MCLBYTES;#endif		if (!in_localaddr(inp->faddr))			mss = min(mss, tcp_mssdflt);	}		if (offer) 		mss = min(mss, offer);		mss = max(mss, 32);	if (mss < tp->t_maxseg || offer != 0) {		if ((bufsize = rt->rt_rmx.rmx_sendpipe) == 0)			bufsize = so->so_snd.sb_hiwat;		if (bufsize < mss)			mss = bufsize;		else {			bufsize = roundup(bufsize, mss);			if (bufsize > sb_max)				bufsize = sb_max;			sockbuf_reserve(&so->so_snd, bufsize);		}		tp->t_maxseg = mss;				if ((bufsize = rt->rt_rmx.rmx_recvpipe) == 0)			bufsize = so->so_rcv.sb_hiwat;		if (bufsize > mss) {			bufsize = roundup(bufsize, mss);			if (bufsize > sb_max)				bufsize = sb_max;			sockbuf_reserve(&so->so_rcv, bufsize);		}	}	tp->snd_cwnd = mss;	if (rt->rt_rmx.rmx_ssthresh) {		tp->snd_ssthresh = max(2 * mss, rt->rt_rmx.rmx_ssthresh);	}	return mss;}