MT#55283 don't do ICE checks on closed sockets

The primary pair selection already checks this, but a retransmit can
still trigger a check on a socket that has since been closed.

Closes #2154

Change-Id: I8308693e7269bfa9dcfcb24daf6863669c065139
pull/2155/head
Richard Fuchs 3 days ago
parent 0f9e89247b
commit c22d724aa9

@ -762,6 +762,9 @@ static void __do_ice_check(struct ice_candidate_pair *pair) {
if (!ag->pwd[0].s)
return;
if (!sfd->socket.family)
return;
prio = ice_priority(ICT_PRFLX, pair->local_intf->unique_id,
pair->remote_candidate->component_id);

Loading…
Cancel
Save