mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
Add another sanity check for bug #41009
This commit is contained in:
parent
8b6d9d8216
commit
bc8120c864
@ -112,6 +112,11 @@ ip6_reass_tmr(void)
|
|||||||
{
|
{
|
||||||
struct ip6_reassdata *r, *tmp;
|
struct ip6_reassdata *r, *tmp;
|
||||||
|
|
||||||
|
#if !IPV6_FRAG_COPYHEADER
|
||||||
|
LWIP_ASSERT("sizeof(struct ip6_reass_helper) <= IP6_FRAG_HLEN, set IP6_FRAG_COPYHEADER to 1",
|
||||||
|
sizeof(struct ip6_reass_helper) <= IP6_FRAG_HLEN);
|
||||||
|
#endif /* !IPV6_FRAG_COPYHEADER */
|
||||||
|
|
||||||
r = reassdatagrams;
|
r = reassdatagrams;
|
||||||
while (r != NULL) {
|
while (r != NULL) {
|
||||||
/* Decrement the timer. Once it reaches 0,
|
/* Decrement the timer. Once it reaches 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user