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)
(cherry picked from commit ace3bf3516)
mr26.1.1
Richard Fuchs 1 month ago
parent 2ad121dba2
commit 0968947e69

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