Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp799743rdb; Tue, 5 Dec 2023 23:24:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEo+CL/QjhhOJDAl3SMjsLcCXH5/c4AkWJV0zC3PBYUkIXoDhmgKJYvPtx2GV21haMIKlJ1 X-Received: by 2002:a17:90a:2bc8:b0:286:6cd8:ef10 with SMTP id n8-20020a17090a2bc800b002866cd8ef10mr2568379pje.40.1701847492605; Tue, 05 Dec 2023 23:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701847492; cv=none; d=google.com; s=arc-20160816; b=NP26o3tug7zoed2zitW6w/GUahMVDHOUzKyeLwvlaEM/pJg+Y5o38RAvMpYca6cv01 jVCi7vtUTj5v7xzsm2AKJjY4EP9HKoyRoHb/XD2mQIot8GvzexcNKaceRztqRH/hLMYy gnaCEph/ZdJIjlyevcqlhSIM30iwJHKLIosoN9oCFUKlJVMc2yEFyN2mEO3JFhbVHVMW XKMdYYpjuAH+/mbuTzqigwPFOY9Dir8t65Z4GDJ3h9ehaXaJHza2X7ZjlStBMOs5BImo GGydC5l74j3xJQTGBuQBAejFExpvpDj0j/2RVexWhHgj7enf8WKtMALcjhDK/u+4CrLG Gw/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-filter; bh=KfvchKOA/sLbhIOxU2hiXLBZ5RE8gliVQJO2gD/Rrhk=; fh=NYzyJI8QcVghalubWg5fL0LnK0PafH7ptszXi1BE+Cw=; b=FmJ0wGh56C5mEYmOH1RnwL1qSNuXzXRZ19G4e6ad4YeKl4M0eEHdJ2OM4c8S6V3QwW r9GEf8GLJg1D39ke8X9b3vXsxpM2TBabOxp8awRwz70nZj4ZwTpGJkzNyoTZTTDCeMgJ MLHYNAwkapojVcu/Dr+lLfDCeqPC1lrTt8+U7FvWWHwrla3d7ZU7jYHNjH547qqeYea1 6HOEBneR0syHANmmiwOSPyG5wuZNOp2S4qWxpPqDxzsN/TJfV2eORNAzF8xWKrTol2ee nixX/9bRXxPo753uLCcjbp30ToDDZjY0SfC9DrRHgk6WW2xD8OeCcUek6NXuOSnKakEX jIZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infotecs.ru header.s=mx header.b=JQDI7AsF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=infotecs.ru Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d24-20020a17090ab31800b002866c761c77si7329862pjr.176.2023.12.05.23.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 23:24:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@infotecs.ru header.s=mx header.b=JQDI7AsF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=infotecs.ru Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 548EF8051ABE; Tue, 5 Dec 2023 23:24:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377031AbjLFHY0 (ORCPT + 99 others); Wed, 6 Dec 2023 02:24:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376923AbjLFHYZ (ORCPT ); Wed, 6 Dec 2023 02:24:25 -0500 Received: from mx0.infotecs.ru (mx0.infotecs.ru [91.244.183.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFED18F; Tue, 5 Dec 2023 23:24:27 -0800 (PST) Received: from mx0.infotecs-nt (localhost [127.0.0.1]) by mx0.infotecs.ru (Postfix) with ESMTP id E3CE110DD0FD; Wed, 6 Dec 2023 10:24:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx0.infotecs.ru E3CE110DD0FD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infotecs.ru; s=mx; t=1701847464; bh=KfvchKOA/sLbhIOxU2hiXLBZ5RE8gliVQJO2gD/Rrhk=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=JQDI7AsFk0YKwiWEka8I3czWWmXJY4i0G27Xu0QcZKnyidvY1VeNj7k83BfO06zcp nwzH9pM1ZecF05BIKM6rLiKFtGVgoSa03mHO4Pbi0Ek/ZBTjbZ0oL6FRehvMp0fnjs QRssQk8v5Z3j5qTUKtOvsOgDRcwO6JfCNNsUz3BE= Received: from msk-exch-02.infotecs-nt (msk-exch-02.infotecs-nt [10.0.7.192]) by mx0.infotecs-nt (Postfix) with ESMTP id DFF7031605BA; Wed, 6 Dec 2023 10:24:23 +0300 (MSK) From: Gavrilov Ilia To: Paul Moore CC: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Huw Davies , "netdev@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "lvc-project@linuxtesting.org" Subject: Re: [PATCH net v2] calipso: Fix memory leak in netlbl_calipso_add_pass() Thread-Topic: [PATCH net v2] calipso: Fix memory leak in netlbl_calipso_add_pass() Thread-Index: AQHaKBU85mJ5ws8RUEuBSAQjhk4+cw== Date: Wed, 6 Dec 2023 07:24:23 +0000 Message-ID: References: <20231123092314.91299-1-Ilia.Gavrilov@infotecs.ru> In-Reply-To: Accept-Language: ru-RU, en-US Content-Language: ru-RU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.17.0.10] x-exclaimer-md-config: 208ac3cd-1ed4-4982-a353-bdefac89ac0a Content-Type: text/plain; charset="utf-8" Content-ID: <98E32942F6D9DF409EA1DB9C12C248B3@infotecs.ru> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KLMS-Rule-ID: 5 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, bases: 2023/12/06 06:09:00 X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, bases: 2023/12/06 03:32:00 #22616787 X-KLMS-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 05 Dec 2023 23:24:49 -0800 (PST) T24gMTIvNi8yMyAwMDozMSwgUGF1bCBNb29yZSB3cm90ZToNCj4gT24gU2F0LCBOb3YgMjUsIDIw MjMgYXQgOTo0N+KAr0FNIFBhdWwgTW9vcmUgPHBhdWxAcGF1bC1tb29yZS5jb20+IHdyb3RlOg0K Pj4NCj4+IE9uIFRodSwgTm92IDIzLCAyMDIzIGF0IDQ6MjXigK9BTSBHYXZyaWxvdiBJbGl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