Author: glebius Date: Thu Sep 17 17:27:49 2015 New Revision: 287923 URL: https://svnweb.freebsd.org/changeset/base/287923
Log: Use proper byteswap macro. This isn't a functional change. Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c ============================================================================== --- head/sys/netinet/tcp_subr.c Thu Sep 17 17:09:03 2015 (r287922) +++ head/sys/netinet/tcp_subr.c Thu Sep 17 17:27:49 2015 (r287923) @@ -1530,7 +1530,7 @@ tcp_ctlinput(int cmd, struct sockaddr *s if (!(inp->inp_flags & INP_TIMEWAIT) && !(inp->inp_flags & INP_DROPPED) && !(inp->inp_socket == NULL)) { - icmp_tcp_seq = htonl(th->th_seq); + icmp_tcp_seq = ntohl(th->th_seq); tp = intotcpcb(inp); if (SEQ_GEQ(icmp_tcp_seq, tp->snd_una) && SEQ_LT(icmp_tcp_seq, tp->snd_max)) { _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"