session: avoid dgram dequeues with no transport
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I1a3393b579caeb5dc25b60bc1b4a71706fb07051
This commit is contained in:

committed by
Florin Coras

parent
cfaf440202
commit
227660b996
@ -1163,6 +1163,11 @@ session_tx_not_ready (session_t * s, u8 peek_data)
|
|||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (s->session_state == SESSION_STATE_TRANSPORT_DELETED)
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user