From 57284d07ca8bf02e4e8afacc5f9fd78f22c281de Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 4 Mar 2019 12:07:40 +0100 Subject: devip: ignore reserved fragment offset bits --- sys/src/9/ip/ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/ip/ipv6.c b/sys/src/9/ip/ipv6.c index 406558999..090d33460 100644 --- a/sys/src/9/ip/ipv6.c +++ b/sys/src/9/ip/ipv6.c @@ -481,7 +481,7 @@ ip6reassemble(IP* ip, int uflen, Block* bp) * and get rid of any fragments that might go * with it. */ - if(offset == 0) { /* 1st frag is also last */ + if((offset & ~6) == 0) { /* 1st frag is also last */ if(f != nil) { ip->stats[ReasmFails]++; ipfragfree6(ip, f); -- cgit v1.2.3