From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84974154BF0 for ; Sun, 12 Jan 2025 06:45:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736664346; cv=none; b=W5VipQGoGlTJJPrcRQ2Q6AMVc6lXHIYcTI5V+7B3c2xmB6VWU24q41+2Q53xXXGd1w4rIG49WEILkdEkFTOYxp6oSkZEpzzdqsKKn1pXayxAMxEHpVeZZF7jXe5fkwqOsmXw1Sk6hGDXtP7ZqFOsTSNXrMGyZLl9FQJF6Y9smSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736664346; c=relaxed/simple; bh=5O5GrY2DL3HmVqMBs1zEvv0fX+L0ULWNILdSDuIXxW0=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Ys7eucwD5+lb+x2nyWeTvSRlT7TXH2hX4lfNpasfz2R6092JiMsdN7zmXPcD03Sob52fopm7NfuPMbUjnRQXGDGSfIIRM9Zn1vzVjiIp3uhOwvtHiyqzgQgWvDOgfWZqFVsOKJABf8VnGnifNF1W5hiBi3FfOwvnANgowBHjM34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4YW5VC0WRWz1JGd2; Sun, 12 Jan 2025 14:44:51 +0800 (CST) Received: from kwepemd100011.china.huawei.com (unknown [7.221.188.204]) by mail.maildlp.com (Postfix) with ESMTPS id 83299140114; Sun, 12 Jan 2025 14:45:40 +0800 (CST) Received: from kwepemd500012.china.huawei.com (7.221.188.25) by kwepemd100011.china.huawei.com (7.221.188.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Sun, 12 Jan 2025 14:45:40 +0800 Received: from kwepemd500012.china.huawei.com ([7.221.188.25]) by kwepemd500012.china.huawei.com ([7.221.188.25]) with mapi id 15.02.1258.034; Sun, 12 Jan 2025 14:45:40 +0800 From: lizetao To: Jens Axboe , io-uring CC: Pavel Begunkov , "juntong.deng@outlook.com" , "ryabinin.a.a@gmail.com" , "kasan-dev@googlegroups.com" Subject: RE: KASAN reported an error while executing accept-reust.t testcase Thread-Topic: KASAN reported an error while executing accept-reust.t testcase Thread-Index: AdtkMiVyVeZvS0/xQj+24imZgOjMRP//rdsA//6ZQvA= Date: Sun, 12 Jan 2025 06:45:40 +0000 Message-ID: References: <98125b67-7b63-427f-b822-a12779d50a13@kernel.dk> In-Reply-To: <98125b67-7b63-427f-b822-a12779d50a13@kernel.dk> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVucyBBeGJvZSA8 YXhib2VAa2VybmVsLmRrPg0KPiBTZW50OiBTdW5kYXksIEphbnVhcnkgMTIsIDIwMjUgMToxMyBB TQ0KPiBUbzogbGl6ZXRhbyA8bGl6ZXRhbzFAaHVhd2VpLmNvbT47IGlvLXV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