Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp26304lfe; Fri, 15 Apr 2022 17:47:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfvr9NKZo7o8swG9jK3/OyDNIl1c7FYT260NMRKgKCMSQr/Tpc0qBXvqqjz1FiQagUccD2 X-Received: by 2002:a17:902:7b94:b0:158:94be:c658 with SMTP id w20-20020a1709027b9400b0015894bec658mr1529847pll.36.1650070069346; Fri, 15 Apr 2022 17:47:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650070069; cv=pass; d=google.com; s=arc-20160816; b=0cdP7JsDejSrVFutaCCaVCBrjmRWLuR+369zXtRTHej/0/55TiSOOkY8vDPkl0Quqx W4ySwURKlDBg5X+rRVv/gBzH+tC51/7/h/ASk2m7YC5nnVU9I9aHowlgMtWk88x+d4Uy gjHCyMh279MZ/o2zA5q5hnDeX/BYG+lorH2uGp9SJUFOJfsho+6tBRdcdb1DMUNNpBL+ q1s2U5y5sz0w5vmulghfZTNtCN1ufO9fMJoBo6oArxiwhg1vyJ9arCHB+eDcryAUj9tY nT9NKXxFv/2n+3OZcW/aBlZSjrglKcTbcuume8NtA0c5gs3FNyPIWxvLzdWPirqGBFJR aMGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=UnqcIb/OlNxNTMV1+fhojvzahHvbehJgp3yBNhQp7E0=; b=X7UFNQGg162RBtoW3qWHn6lBSc2QFZgsNrD02AqNfosO9LKj+jUwjHw58KTF1W5yzQ B/wqFoFSdVy6VRdr4zy40PCFXhKMjpsdnXPTVXxmH14l7AjkSITvkHmAzOCC3Ad4WARz GbGZeUi/GIfxPAgXUi/sFbmKP6tRzwFDMVp4hiCQesNssZ/Bpbdg96FIH6u4ykmMK0cR TG/D8m6aOEb0HwE9N3j8oqQMhVQ/V65UZbY8JWGKNi+Cy+EpJY3goI8pucZR1e6m1mSw 0mD/PJnhglrvHJbORoqjlvwE1izBGzugZJvqiQC4cotAwv4JbKp6aeHo/4TDuRSU4J/G N4ag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b="t1ojU/FA"; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r7-20020a63a547000000b0039dba55959csi2780013pgu.48.2022.04.15.17.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:47:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b="t1ojU/FA"; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hotmail.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 96254FDE31; Fri, 15 Apr 2022 17:38:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355904AbiDOQqa (ORCPT + 99 others); Fri, 15 Apr 2022 12:46:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355907AbiDOQq2 (ORCPT ); Fri, 15 Apr 2022 12:46:28 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074091.outbound.protection.outlook.com [40.92.74.91]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55C92DCE22 for ; Fri, 15 Apr 2022 09:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fo5GFy0EmoFvbDZMY4lcVN8W1ty+sGibvbujhoh3SO445IbYu11yiCF1i9GaBvyKZ89X39xax2dITUZYmJ8JRK2ScglxZOuy3q/IHjtX8O5HGQGuhFTw3GlDJ6Nm2LfXqNCo/OMBenO1ItgB9ilh+8JXv7zHlEi53+J9MvMzPtiR6dHxjio1YWIDdKGx1wGLhgkgr3YlNnNGdh48tLuAeQqcA2As4Z7ZM9Fu1XpOuOW89X1vBjqRhfis2AWF8J0LFMuk5w0BipiXJNIn+6IQ2FMUVEVtFP2HFNoouTFg+ToX/ZcS3MgYwGLQOf5RXq8PFFQpVGc32qxt4WveOdNgIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UnqcIb/OlNxNTMV1+fhojvzahHvbehJgp3yBNhQp7E0=; b=cqWPMFP0ARuzBPCWzG0WLQtlJQhvU44SxnsBe83gGN6FYCRphjEpeYhHqQoQDIysXbox1OKkyaAyID6CWyGc7VKLuJZCwXzUfGai3v2A9KVPlGwkwuYOXGvAPlc7Y168gJotJJ8STBVn251RtgfTQJyvjLlycgPlsZsO5l4WGRpxfG4MUz1XFA484H1397i2yYFqG2YdEG8E5G1Jk3PPkFaBjLBrZsyYt/nTfrRR0YF3YZEY7f6cc76IY+eteGtQ12neCfVPg8v1AyJcs7lpcZJThQmwoWKM2+O4c78mGsZxGQgW5WIzJnsy1uZzo2cCeqTST1ehScWA9f5nEz3QHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UnqcIb/OlNxNTMV1+fhojvzahHvbehJgp3yBNhQp7E0=; b=t1ojU/FAU6EuTmOc+SfTOo8rNUKQ141Bsdyy7MT4uTcYtgZZESCMMgRqYFuSY/hKnRQCW3BhFWegzGKZp67vgMfaJflm264pkWwL8o6OD1j4rueU4nzzwykpZ7WDGXG3ZbW8WGhU4EhcS6xThRlCuem2nzQ6kEWMvaJ45hGsa5IlGBKQgOXq+AbghcvUh1mzdMLNqp79hr75rYHhUeIQhw+f4xdOGdB2rfCVkOTYI07BBfdr05+EwzKscYfXl9Eg5LH624pfVsOf1YrpOeV1i3+nO+30GMwy02VoXnijOT73EUiLa8i9BX1umej3CDfxDG4YBiBYBWoc9QWitd5KxA== Received: from VI1PR09MB4239.eurprd09.prod.outlook.com (2603:10a6:800:12f::23) by DBBPR09MB3029.eurprd09.prod.outlook.com (2603:10a6:10:f0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Fri, 15 Apr 2022 16:43:57 +0000 Received: from VI1PR09MB4239.eurprd09.prod.outlook.com ([fe80::dcb2:a4a2:335a:98ec]) by VI1PR09MB4239.eurprd09.prod.outlook.com ([fe80::dcb2:a4a2:335a:98ec%3]) with mapi id 15.20.5164.020; Fri, 15 Apr 2022 16:43:57 +0000 From: Isak Westin To: linux-bluetooth@vger.kernel.org Cc: Isak Westin Subject: [PATCH BlueZ 0/1] mesh: Use correct net_id for received CTL messages Date: Fri, 15 Apr 2022 18:43:34 +0200 Message-ID: X-Mailer: git-send-email 2.20.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [aM3rzLzD5z/M2y3EpCNreGzAko47jTmr] X-ClientProxiedBy: ZR0P278CA0135.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::14) To VI1PR09MB4239.eurprd09.prod.outlook.com (2603:10a6:800:12f::23) X-Microsoft-Original-Message-ID: <20220415164335.24808-1-isak.westin@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8d37abf2-c683-4ce6-e5d3-08da1eff228d X-MS-Exchange-SLBlob-MailProps: citmFLqyTFTOx5Cd44ygS5aHUNPKNxySkrV6htp3FB4gcKzvOlvjFSaQovf8v+lZPg4tWdFpFXzTZ6YUngchb9Qa/wuBfPGmtvI96jvlV+K/tV7Qo/6KoGWRE0C+/RKd4qPLIEpQ5qmSPCOmoWIAO8PkfeuKgr2gxCU7w6oCDguCdER8gbKX4Do58rjHzQtNyiEEaKGivmpHV8984tQROCDsuXiGU7gvLrUYJ1wBBXu1NJYmMHHkWX4xr1i//KyEi7zLFoEZuJEU5YTPckXZAC245Qg61A7MhF4TcqnOjn7H4mcjLhZs3evP/EgJoQOw3DAVzo6lvrPk2IstCqaM1Hv7N4S3fUna98xkrrwfEyq/TgF6bizTPtNMoYobdoWKnZvrzs98rTnhfuXf0NVMUukO6TmZ+RNkdlRHOI7kN2bsZf01xevllGoBwprOajmfnIlAWiXhVQ40J2JQpJSZGWaQ350VMcIXNU1C7zHRNV+UFCOUTdWfn6vWblF4znLKi5gPrWB3EGTZVVq0hFrqLVwdLclugdM3Ram9lxSxpptzU3X0SI/ZugavFQSSBmMTF54b+z2bnddaBboZNtak1JbTnIYBW9+GCRxb8uBisK5dJ/LEeQnLwhr1uC4e9oYuBnYsK4UBDYv184qKpZ+EXS/vsSTpPEIO75HHmIfUkJt5klA56HQwn2C+zI9prhnHtqaHldiCEHNsKDsFYztUW6VDvfPX3Gj+0R69egRgGtCQ4+gI7dwszuu1xLsnVCxCt8qC5LW85oqW63t9MiECjJ7eUVcfBDbrtwI0S804xHI= X-MS-TrafficTypeDiagnostic: DBBPR09MB3029:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yyjJvV18593g4NeKdvkztop/nARSP0qV3nKE/z1CLodzl1INPsLp6flbjJINv1KqxAXbrmllN9hGyCkEEviIa0YDm/wnetHMaa3N1qw9MQ1hc/P6Hy3/L0I2n9yoqf9gbmSYPr10NTp2AELq1P3ysaSWv/0r5wnkSu0SH4qS86Orlts1o88GWClxUu9muTxvjp85tmnnCB4XqZp+Gdcybdf7YUiYcTqPsLXXoZQybsmV469qa7M/qUStOFa0s2mbn89xGhnKRMPXFCLVYbC3zuml/TiHlzokHMx8ilJbLH5B5Tt5g93UnGoPtZiqvayQqGYx41kcKYpBow//UjdPLicTRAnR+hSNVxxyjfTqk1MJ/OM28XyYHhvEqImvErPTuxkBzb2d7f7FheRgflP6xlh3BSGiLBKHSeme6DGPmH1e0jK0PXE5ygOEHU0SBHx4Rjwymsmhv/EEKj3McmtJ3wpGNBvqRzRz68Z4+iSLlZHkDrS9Mxfn9Mgc0lYgAurTkdd6n0LZ8JymBhgvtXzw1Zjs8QK7+tlTb/kNYGaECpLhwGqq4hY51Z3Vx/adAJ6+9pilDwypkn7doHWlXsoR0A== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Zd1puukzZ/qeYEbpEg0z6sI12HYV+EobisWRifZCsA4ZCAQYKZZQccUT0dOb?= =?us-ascii?Q?gG/V1vDgJqAA+qewK0i6okGYBPDCPPBDlWXQAUT5vBJi9bYY/M2Y9V2DPAe2?= =?us-ascii?Q?e7zMofVilqXPTdpmBd0TZCXr6Pa/S0VN51vkUDhL/vyGizlemDj9sid16T2I?= =?us-ascii?Q?u5oPlCyCdtsOHRoAQlC+fyY94hf8fDXm4oHSbxQq9FvM4orx6OXf0flkeSTj?= =?us-ascii?Q?gCpQc+W5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A2TJ3aZMzEScC?= =?us-ascii?Q?JB+RiJBFScEteewWZi6JPQJtwU986IhaiZaPQPTQ+ZE/i383UmK2IVnVjFQZ?= =?us-ascii?Q?IuphSmKHuv090lp/ZBi1TxirEKOUaztBCZpqF9yfj/PpyQCMj7ZwSFiKc0Ou?= =?us-ascii?Q?9GaieZa7LILCrDDbSOBjpugMIhe7Tv+Z/YkVrjYK/DQJoGDSpvK511M939xR?= =?us-ascii?Q?wEnlOeiMz9OgMcqpvnnPTJuberwAl+3Ze4dQ1vnr1w8/YyHXokjJ6zMoP2uJ?= =?us-ascii?Q?Gff5epGnLmzHHiytVOZqg2EvTN0dziUQWeK4miHhDPBS19QOl2vo+hlPCSnW?= =?us-ascii?Q?JOXArKNkmKL+UR/aHqxTVWiBunlMOhD4?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 8d37abf2-c683-4ce6-e5d3-08da1eff228d X-MS-Exchange-CrossTenant-AuthSource: VI1PR09MB4239.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2022 16:43:57.3595 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR09MB3029 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_HOTMAIL_RCVD2, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, I had an issue that the mesh-daemon local node never responded to friend requests. After some debugging I found that the net_key_id passed to the ctl_received function (used to look up the network key index) always was uninitialized. And I noticed that the wrong variable is passed to the function. It looks like this was just a mistake from this commit id: 7083cad2fb42fbd9640ee55df4225d921a83e2d0 Isak Westin (1): mesh: Use correct net_id for received CTL messages mesh/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1