Don't check an unsigned variable for being negative.
MFC after: 3 days.
This commit is contained in:
parent
04ce5df9c9
commit
9e8c9c9ef6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user