mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
gnrc_ipv6_ext_frag: disregard empty fragments
This commit is contained in:
parent
0e4c7dcaf5
commit
8af2f50a7d
@ -423,6 +423,10 @@ gnrc_pktsnip_t *gnrc_ipv6_ext_frag_reass(gnrc_pktsnip_t *pkt)
|
||||
DEBUG("ipv6_ext_frag: unable to mark fragmentation header\n");
|
||||
goto error_release;
|
||||
}
|
||||
else if (pkt->size == 0) {
|
||||
DEBUG("ipv6_ext_frag: fragment empty after removing header\n");
|
||||
goto error_release;
|
||||
}
|
||||
fh = fh_snip->data;
|
||||
/* search IPv6 header */
|
||||
ipv6_snip = gnrc_pktsnip_search_type(pkt, GNRC_NETTYPE_IPV6);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user