x2: bug fixes
- free correctly in rrc_eNB_free_mem_UE_context - check for existence of ue_context.handover_info in rrc_enb_process_itti_msg - check return value sctp_peeloff in sctp_handle_new_association_req_multi and exit in case of failure
This commit is contained in:
committed by
Cedric Roux
parent
52a52eefb9
commit
3179722161
@@ -324,7 +324,12 @@ sctp_handle_new_association_req_multi(
|
||||
}
|
||||
}
|
||||
|
||||
ns = sctp_peeloff(sd,assoc_id);
|
||||
ns = sctp_peeloff(sd, assoc_id);
|
||||
if (ns == -1) {
|
||||
perror("sctp_peeloff");
|
||||
printf("sctp_peeloff: sd=%d assoc_id=%d\n", sd, assoc_id);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
sctp_cnx = calloc(1, sizeof(*sctp_cnx));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user