Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/sctp_indata.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/sctp_indata.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/sys/netinet/sctp_indata.c 2018/05/01 07:21:39 1.6 +++ src/sys/netinet/sctp_indata.c 2018/09/03 16:29:36 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: sctp_indata.c,v 1.6 2018/05/01 07:21:39 maxv Exp $ */ +/* $NetBSD: sctp_indata.c,v 1.7 2018/09/03 16:29:36 riastradh Exp $ */ /* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.6 2018/05/01 07:21:39 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.7 2018/09/03 16:29:36 riastradh Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -128,7 +128,7 @@ sctp_set_rwnd(struct sctp_tcb *stcb, str asoc->size_on_reasm_queue == 0 && asoc->size_on_all_streams == 0) { /* Full rwnd granted */ - asoc->my_rwnd = max(stcb->sctp_socket->so_rcv.sb_hiwat, + asoc->my_rwnd = uimax(stcb->sctp_socket->so_rcv.sb_hiwat, SCTP_MINIMAL_RWND); return; }