Skip to content

State vectors are not maintained long enough #12

@screw

Description

@screw

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?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions