kvetak / RINA

RINA Simulator
https://rinasim.omnetpp.org/
Other
29 stars 11 forks source link

State vectors are not maintained long enough #12

Open screw opened 8 years ago

screw commented 8 years ago

State vectors for DTP and DTCP a.k.a DTPState and DTCPState are not maintained long enough. When IPCP receives deallocation request the EFCPi module is deleted immediately without taking into account running Sender/Receiver Inactivity timers.

Solution: Add defaultState variable to both state classes and check in EFCP.cc before deleting EFCPi module. In case of non defaultState, schedule delete timer to expire after both (sender/receiver inactivity) timers. Also mark such EFCPi instance as inactive/being deallocated causing it to discard SDUs?

kvetak commented 7 years ago

@screw Any progress with this issue? Is it already resolved?