• Gerrit Renker's avatar
    dccp ccid-3: remove dead states · 80763dfb
    Gerrit Renker authored
    This patch is thanks to an investigation by Leandro Sales de Melo and his
    colleagues. They worked out two state diagrams which highlight the fact that
    the xxx_TERM states in CCID-3/4 are in fact not necessary.
    
    And this can be confirmed by in turn looking at the code: the xxx_TERM states
    are only ever set in ccid3_hc_{rx,tx}_exit(): when CCID-3 sets the state
    to xxx_TERM, it is at a time where no more processing should be going on,
    hence it is not necessary to introduce a dedicated exit state - this is already
    implied by unloading the CCID.
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    80763dfb
ccid3.c 25.4 KB