Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4031255rwo; Mon, 24 Jul 2023 22:39:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlGZgKvMSbVZwb228QtwRakuwNPFRq+dJvqxLu8OCTK3s2Fw1uCDgxPzx+4GQd+obmR+Ig7O X-Received: by 2002:a05:6870:b491:b0:1bb:91de:7f92 with SMTP id y17-20020a056870b49100b001bb91de7f92mr2008951oap.23.1690263594767; Mon, 24 Jul 2023 22:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690263594; cv=none; d=google.com; s=arc-20160816; b=xxy0znfAiAek9fTPLPlYL4qO2RM1J3wiShr3I0+zPdyIQAyW3yxRorGEY224LLdf9O wtjGFoMr5Lk//luvxSMd2K0XQzRgtAw6dB0YilSxDs1RTNZVonpOFvffRYJqFDAQtc2q U5dOPAzOg1uTQXFuVeCRVl8p21iwXECpwG0frxRBxFKkxqf6tL8Oj11OE8YkpknAdLz5 VHKpI/91q0UH95dfbhdava48Yygi7BiUKwexSw+rCRKeEB/fxcJNuo9A+7R8ajWeTR7o zgGdArt7w1te3We/jYJs45m2S98fFMkxHb8R2GpRTS8mbgUD4KpuYKP6WBtOHq7ejsDg 9NTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=EKBnp2tOG3UsIX9yxdrGci8OKVznT9P3CGGqxRf6H08=; fh=ISGfwDewmOfo6Xtf/wIEUJ/NPVzEhb6c7cfeflN7cCU=; b=GRVtnSeXlZ1ddkKQB0X71mJQKTZzUJTjjzjrr6hY8X58kbX6ZkJ/wWF/4FoyY5mOLd DafwNPsPf5A7k1QEPmVD4bQBYB/l5iFVWsms6ipICqD5CvjFYtHi8kC3Mte2hm6ZMBgD 34ytUck4vurtGbfyMldPxv/RblM6U/vfXRGy3WbrxjqPGKZBnNT8vwZEGjQeqTs+e32P hvK5+FAzcXXHtk4v6VEdrPbX2lawuuLYOeseqBlpbn2X605VqI/ExEz8c/p+RVe7ehhy JM/6sYXqb0H2PsuI7fJ/aSx3JyJPss+pOnUDHAFyrJ6lCSK1Mh6ZiLJdqMNXThnfLBe7 VfEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv10-20020a056a00414a00b00680a955d320si10813197pfb.56.2023.07.24.22.39.42; Mon, 24 Jul 2023 22:39:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbjGYFZB (ORCPT + 99 others); Tue, 25 Jul 2023 01:25:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbjGYFY7 (ORCPT ); Tue, 25 Jul 2023 01:24:59 -0400 X-Greylist: delayed 18711 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Jul 2023 22:24:55 PDT Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.231.56.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F2A72116; Mon, 24 Jul 2023 22:24:55 -0700 (PDT) Received: from linma$zju.edu.cn ( [42.120.103.62] ) by ajax-webmail-mail-app4 (Coremail) ; Tue, 25 Jul 2023 13:24:38 +0800 (GMT+08:00) X-Originating-IP: [42.120.103.62] Date: Tue, 25 Jul 2023 13:24:38 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Leon Romanovsky" Cc: kuba@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, ast@kernel.org, martin.lau@kernel.org, yhs@fb.com, void@manifault.com, andrii@kernel.org, houtao1@huawei.com, inwardvessel@gmail.com, kuniyu@amazon.com, songliubraving@fb.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v2] bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220622(41e5976f) Copyright (c) 2002-2023 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: <20230725044409.GF11388@unreal> References: <20230725023330.422856-1-linma@zju.edu.cn> <20230725044409.GF11388@unreal> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <15dc24fc.e7c38.1898b81ac08.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cS_KCgB3ybGWXL9kwQAPCg--.53344W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwUHEmS-J3oE0gAAsD X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kern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