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
|
* and get rid of any fragments that might go
|
||||||
* with it.
|
* with it.
|
||||||
*/
|
*/
|
||||||
if(offset == 0) { /* 1st frag is also last */
|
if((offset & ~6) == 0) { /* 1st frag is also last */
|
||||||
if(f != nil) {
|
if(f != nil) {
|
||||||
ip->stats[ReasmFails]++;
|
ip->stats[ReasmFails]++;
|
||||||
ipfragfree6(ip, f);
|
ipfragfree6(ip, f);
|
||||||
|
|
Loading…
Reference in a new issue