Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11991552ybi; Fri, 26 Jul 2019 03:01:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwve4iW/rHao6f6JxkEcvFki41KySBb4CG1olPPI+a/PmND9Hc8EQyIM3kgewyiyhUjN/P4 X-Received: by 2002:a17:902:1aa:: with SMTP id b39mr47425181plb.333.1564135264332; Fri, 26 Jul 2019 03:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564135264; cv=none; d=google.com; s=arc-20160816; b=v5ZWh8BNBH2W6UqP+QqBBiSEAVrdjOa1+doUZfnRp+mgLNO01v6Yl3uc4u+z5ScFCm gZr5npw5EfUpnsb8RhqjXB12IBYjbzSRVtQqjhrYIp/M8fN6JyXgbQ4bipGXVtArm7zg T+2e/gEuT5oKNGHrGWmax5jdnBwlPoUBa8KMGzrX6mPN7KFVX8DIkVSuekNF+cjr3Lhq N4rb/7Fq+ImBvexPXkPMDo1IqbDzCwz2Z8TNtVSK2jkEW6Qn0BVyIjjePVdRWaesoRNQ wVQx4n0hrCaK4McqsGoKOZ+86EYjei2jjFmN7oWydBjkz7GsEboWIRQ1ZkD+Aqn7OR++ ZRkw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=mLJorQvghyl6IcdxX7Lb1tw6yVw/dZusj2KL96pJtao=; b=LN3g9+qcozrXWvQQSG2Et5AUdAKQlVR4FcUTHFZYWhyKg/HQnZRZQUtGGr+r+2TJ3M VdvUfyBF9HXiTXlr+JnqtKp2hrxa64py9VYcwJVJ0ltE2n1pM38g78jxT9ZX6dS+QlbB fSQT+Xf6zpcJcuLLHc/fDtgVYU13T9XtnrBfZ8ZKLxiyfTScGv7OXmQr6C3N8yFrx7JD HamRtj+8PIGnRJV2A+j4w4WGrMke3/CKcG2rDMJ6DEmt+FefZvnEZfU9RjWvGg4+SAdX 8pLUEteaCQa7qqjgfDyyVaQ0ueainCBqeS5DfgVUYg5wZH267NSVJypkRZbszRah3V7t mNnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gX+qZUfV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si16995659plz.307.2019.07.26.03.00.49; Fri, 26 Jul 2019 03:01:04 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gX+qZUfV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726252AbfGZJ6f (ORCPT + 99 others); Fri, 26 Jul 2019 05:58:35 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:40530 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbfGZJ6e (ORCPT ); Fri, 26 Jul 2019 05:58:34 -0400 Received: by mail-wm1-f65.google.com with SMTP id v19so47193942wmj.5; Fri, 26 Jul 2019 02:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mLJorQvghyl6IcdxX7Lb1tw6yVw/dZusj2KL96pJtao=; b=gX+qZUfVV9sP7taGSw8DcFdrYFJqz+Vy9y2Jc6NcxaHwsNgOmxzV/nzxgBAll8eynD AfodXp3+aOFMGPl08WFw5zhIYE3jbJ1H3D4XAob//EubTo7ylRjP0zU/sQW0SZg+fy65 4RBndOvHhKyYI3KwMtZ9XGwZsYY27xRGWSRMuIVKRt25Fd4Aw+Ex1LwqRCXldL+Wg/Tk 9CraWUBKKBbXY+y3rpuiBMUYULJJqsT6j1i7cG1oVAHN5yYF0mu+g8QTBajplwqwSEEw 1L7fm8NPCaN5qyrsS/ctehooWvG+krWXA0xJ/P7HY5SJE9ljmwFUS4Q+i4WkPEF8P+He pJ8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mLJorQvghyl6IcdxX7Lb1tw6yVw/dZusj2KL96pJtao=; b=uDL6kUvnu0p9zskY51YK0UZhU0stXPVAFcb0GtjY8Vbzktmy9bAtuoY80m0X9fvSw3 C0jww9X2V2kPoxZrwW5KHuimiAMLUCxMG13iZWlsA+2yUnfPFtULuYHUurHRn2/Qrxdm YspCy9ejVPLOqlECp/PQ7YgMVA/OWKbejGVe/h2q8oXk3K+zKU8nhzaIe9QByAKmDQGA B2Xoyg7MgbluIbiFu6fdsR7CTkUy/FDBO88wdbOG11POSOvhlhmmjZ1qNer4OPfuY4GR hBAF+m1itZra2RGl3h8DvkipmuMZTVg9hqGMhzx+ys0RQdLLgajjOkwy7Wh8f1eqr5cV RW8A== X-Gm-Message-State: APjAAAW5XPJZy+v5/Ku5fSuUvBhWtVP13JhY4vEIR/AClFi33qiwAKGE 9TLtMDf8KRl7WnVlwbZv88c= X-Received: by 2002:a1c:a481:: with SMTP id n123mr78880407wme.123.1564135112469; Fri, 26 Jul 2019 02:58:32 -0700 (PDT) Received: from [192.168.8.147] (216.171.185.81.rev.sfr.net. [81.185.171.216]) by smtp.gmail.com with ESMTPSA id t6sm58304258wmb.29.2019.07.26.02.58.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 02:58:31 -0700 (PDT) Subject: Re: [PATCH] Revert "net: get rid of an signed integer overflow in ip_idents_reserve()" To: Shaokun Zhang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Yang Guo , "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , Eric Dumazet , Jiri Pirko References: <1564132635-57634-1-git-send-email-zhangshaokun@hisilicon.com> From: Eric Dumazet Message-ID: Date: Fri, 26 Jul 2019 11:58:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1564132635-57634-1-git-send-email-zhangshaokun@hisilicon.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ? 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.