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
(cherry picked from commit c22d724aa9)
mr26.0
Richard Fuchs 1 month ago
parent 2dadd6e8d6
commit 7219ccbc58

@ -761,6 +761,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