module-avb: milan: acmp: return IMCOMPATIBLE if the interface is invalid

This commit is contained in:
hackerman-kl 2026-04-18 18:22:45 +02:00 committed by Wim Taymans
parent fdcd818fba
commit 6c5c184e6d

View file

@ -2188,8 +2188,10 @@ int handle_probe_tx_command_milan_v12(struct acmp *acmp, uint64_t now,
} }
stream_out = desc->ptr; stream_out = desc->ptr;
if (!stream_output_on_this_iface(server, stream_out)) if (!stream_output_on_this_iface(server, stream_out)) {
return 0; status = AVB_ACMP_STATUS_INCOMPATIBLE_REQUEST;
goto done;
}
if (memcmp(stream_out->common.stream.addr, zero_addr, 6) == 0) { if (memcmp(stream_out->common.stream.addr, zero_addr, 6) == 0) {
status = AVB_ACMP_STATUS_TALKER_DEST_MAC_FAIL; status = AVB_ACMP_STATUS_TALKER_DEST_MAC_FAIL;