mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 06:17:30 +08:00
Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
This commit is contained in:
@@ -2618,7 +2618,7 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
|
||||
(sizeof(uint32_t))));
|
||||
diff = now;
|
||||
timevalsub(&diff, &time_expires);
|
||||
if (diff.tv_sec > UINT32_MAX / 1000000) {
|
||||
if ((uint32_t)diff.tv_sec > UINT32_MAX / 1000000) {
|
||||
staleness = UINT32_MAX;
|
||||
} else {
|
||||
staleness = diff.tv_sec * 1000000;
|
||||
|
Reference in New Issue
Block a user