[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Error in Diffserv module



Hi all,

I think I found an error in Diffserv (Nortel's module) in dsredq.cc file, enque method.  

When average queue is compared 
with min_th and max_th, if the packet is early dropped 
in line : 	

         if (u <= pa) {	
            if (ecn) return PKT_MARKED;
            return PKT_EDROPPED;

I think before return PKT_EDROPPED, we should add 
        qParam_[prec].edv_.count = 0; 

to reset counted number of packet since last drop. I check this 
with Floyd and Jacobson paper.

Can anyone check and confirm for me?

Thanks a lot.
Pennatee.