From 6c5c184e6ddd62b1c1bced5ec1cac354b2ea8785 Mon Sep 17 00:00:00 2001 From: hackerman-kl Date: Sat, 18 Apr 2026 18:22:45 +0200 Subject: [PATCH] module-avb: milan: acmp: return IMCOMPATIBLE if the interface is invalid --- src/modules/module-avb/acmp-cmds-resps/acmp-milan-v12.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/module-avb/acmp-cmds-resps/acmp-milan-v12.c b/src/modules/module-avb/acmp-cmds-resps/acmp-milan-v12.c index 36a71f36c..4f5fa0ed9 100644 --- a/src/modules/module-avb/acmp-cmds-resps/acmp-milan-v12.c +++ b/src/modules/module-avb/acmp-cmds-resps/acmp-milan-v12.c @@ -2188,8 +2188,10 @@ int handle_probe_tx_command_milan_v12(struct acmp *acmp, uint64_t now, } stream_out = desc->ptr; - if (!stream_output_on_this_iface(server, stream_out)) - return 0; + if (!stream_output_on_this_iface(server, stream_out)) { + status = AVB_ACMP_STATUS_INCOMPATIBLE_REQUEST; + goto done; + } if (memcmp(stream_out->common.stream.addr, zero_addr, 6) == 0) { status = AVB_ACMP_STATUS_TALKER_DEST_MAC_FAIL;