devip: ignore reserved fragment offset bits
This commit is contained in:
parent
e2d310e623
commit
57284d07ca
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue