Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp635255ybe; Fri, 6 Sep 2019 05:08:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqywpJ4Dyms1Pe8EQeCdmhzcG5WhUu3XbeqkJdDhc5j70vMYRIbFGUqvmqj5SpeIFEEvqxW/ X-Received: by 2002:a17:902:b40c:: with SMTP id x12mr9040960plr.145.1567771717878; Fri, 06 Sep 2019 05:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567771717; cv=none; d=google.com; s=arc-20160816; b=QuyG0tJVvzbKbfe/ze236p0qsdkyNpwKq2+BSGbtdswMpdS963YMZLFrkRZaxkGPe8 +ri5Vf5KtGxLroKAS12J8mmsRWZaz6ZGi1RTQHXJhKMkqrSsEB8jNHkKYuROqPfd87D+ lqa1C+64Y7gsVky88kxJ9S7eYqNwFQIsn3oB6Bslpe0BmOOszT3RcxPXOLcgOZgx1p8s 9jya/CHHRr7/hd4E9Y3XJqqdao/sooBjNhV+N7Ca1Bqv8Ef9aOvwFrN5FqHzUvDcuxuq xWe6FXqK81TXC0amYDspQjevwbrth7xqW6CbbVcORpKr6KjAqYtyucyTwIHwFZPvdGfj HQVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=fJTrPBTO68/gBwjIA0zo6va6sNUMsQgms2Prwtr6cG0=; b=lv62ou7yyXf2Tg1r8jjhVDlp0G8sdShM0/SkXXzAtF6BJYxpI0qdEmo7TAmyzjTAVH nOCFZeb7t5tQVf29VcOcYmUX0/vxNaR+RNCDC4j+pI0UTc1gQXWbxJu6TiDeF9UsAp0M TrDXNrN6Rey//AC8qBbFolpOpS63Hdp/ZV+5VlWd2AqoFg+iAnW5dXRQXbSmdzblyCHs FrUmKZzHkR1WaG7Ug5HqOGzS1I5mjW1Hk+PdBIR95FXUqwoKdpVheeQ2uZKHT1mw8/Ba LJQQ29G/V7aje+wwwVM2TA9UdFG74XuflfBrtz7AKfZO05sIduj1haHnZzC8XrYLFZeQ WW+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si5450410pfb.240.2019.09.06.05.08.22; Fri, 06 Sep 2019 05:08:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391884AbfIFBZf (ORCPT + 99 others); Thu, 5 Sep 2019 21:25:35 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:59696 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389245AbfIFBZf (ORCPT ); Thu, 5 Sep 2019 21:25:35 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id D84102FD553F59EA768F; Fri, 6 Sep 2019 09:25:33 +0800 (CST) Received: from [127.0.0.1] (10.74.221.148) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.439.0; Fri, 6 Sep 2019 09:25:26 +0800 Subject: Re: [PATCH] Revert "net: get rid of an signed integer overflow in ip_idents_reserve()" To: Eric Dumazet , , References: <1564132635-57634-1-git-send-email-zhangshaokun@hisilicon.com> CC: Yang Guo , "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , Jiri Pirko From: Shaokun Zhang Message-ID: Date: Fri, 6 Sep 2019 09:25:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.74.221.148] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eric, On 2019/7/26 17:58, Eric Dumazet wrote: > > > On 7/26/19 11:17 AM, Shaokun Zhang wrote: >> From: Yang Guo >> >> There is an significant performance regression with the following >> commit-id >> ("net: get rid of an signed integer overflow in ip_idents_reserve()"). >> >> > > So, you jump around and took ownership of this issue, while some of us > are already working on it ? > Any update about this issue? Thanks, Shaokun > Have you first checked that current UBSAN versions will not complain anymore ? > > A revert adding back the original issue would be silly, performance of > benchmarks is nice but secondary. > > >