Don't check an unsigned variable for being negative.

MFC after:		3 days.
This commit is contained in:
Michael Tuexen 2020-05-18 19:35:46 +00:00
parent 04ce5df9c9
commit 9e8c9c9ef6

View File

@ -1042,7 +1042,7 @@ sctp_fill_up_addresses_vrf(struct sctp_inpcb *inp,
struct sctp_vrf *vrf;
actual = 0;
if (limit <= 0)
if (limit == 0)
return (actual);
if (stcb) {