First step to passing IPV6 Ready test: time out IPv6 fragments after 60 seconds

(added IPV6_REASS_MAXAGE as an option that is independent of the IPv4 setting)

Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
Jisu Kim
2017-09-16 22:41:35 +02:00
committed by goldsimon
parent 67bf0a6d0a
commit 27b7ed17fc
2 changed files with 10 additions and 1 deletions

View File

@@ -352,7 +352,7 @@ ip6_reass(struct pbuf *p)
}
memset(ipr, 0, sizeof(struct ip6_reassdata));
ipr->timer = IP_REASS_MAXAGE;
ipr->timer = IPV6_REASS_MAXAGE;
/* enqueue the new structure to the front of the list */
ipr->next = reassdatagrams;