Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2263580ybd; Thu, 27 Jun 2019 09:23:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGe/+ybRshcEkZOMc4UPkdIgiFIWYW5fw8juHqma3BT+ArD9zLb7m1FIpRYY3UE9Kgf04+ X-Received: by 2002:a17:90a:2567:: with SMTP id j94mr7091230pje.121.1561652621614; Thu, 27 Jun 2019 09:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561652621; cv=none; d=google.com; s=arc-20160816; b=b0uV4J9GE/ZOfB6eT1TO0/qPcMGCzLwi8BRHniUVI6AdEtWYh/ltCpv+okTyqgod46 JysBrkOnN7RkaSCUFY5xDr5REJvE8VvlC6H/3nD1+4WA6Y19I52fgRXIlkXnYCm/peI/ BJuPw7AujORCWkJmrWmcli5xB4m4k14am3ZVPtX/RjnB/2iJGZ20R1j64obIKKZu/Nsu yyUtHfLjD/g5IvGUS7TK5Mwm8+aZ3DdEjPKineIwEXMWKmdBylvm7nNVhnbaak93EOSn Wus+3796y5haNzZfYGyp6FyLUO0jFT0xIMeK/GYOVRqMS4vnRpb9dDVx1QUQR9SKFBQV WA1A== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=AQV+Fkib1Kv+i4LacBOug94bB1wCt7NUHjVRe51s+3w=; b=XEq1XtX0P+V2eQuD7A6wcHM9lOe+KnqszXMvrBaGr14JK3E0DgjLbTDzC7CL/Xj74i z7d9sDxopdEjV8P5M6XCPag7NTo/4Zr65vQrfyhyVlyU9u8lyO9LhmazNNTBIjfb3/HJ iNU3g5Rg+4pLuvoKIR/2Sg9GG282h1osFoHV8nklpDwfe0yXdkXgfkk9nh9Y7ueK8Dth 0G7rSaoT4bCCLpzg82QqeLL177D7eLTVNe3IjlKzlMb8S5fqsLnbpWkDRGo1qNy1zRJy LQ4Dogk1ayncGksTtWb7vywvdk/wHbBv0UBXthq5NDd/RGiRD49PMdXaEO2F7tk9qG7v y3Ww== 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 i129si11707pfb.221.2019.06.27.09.23.25; Thu, 27 Jun 2019 09:23:41 -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 S1726566AbfF0QWz (ORCPT + 99 others); Thu, 27 Jun 2019 12:22:55 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:55864 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbfF0QWy (ORCPT ); Thu, 27 Jun 2019 12:22:54 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 37D7D14DB52E6; Thu, 27 Jun 2019 09:22:54 -0700 (PDT) Date: Thu, 27 Jun 2019 09:22:53 -0700 (PDT) Message-Id: <20190627.092253.1878691006683087825.davem@davemloft.net> To: skhan@linuxfoundation.org Cc: c0d1n61at3@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [Linux-kernel-mentees][PATCH v2] packet: Fix undefined behavior in bit shift From: David Miller In-Reply-To: <7f6f44b2-3fe4-85f6-df3c-ad59f2eadba2@linuxfoundation.org> References: <20190627010137.5612-1-c0d1n61at3@gmail.com> <20190627032532.18374-2-c0d1n61at3@gmail.com> <7f6f44b2-3fe4-85f6-df3c-ad59f2eadba2@linuxfoundation.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 27 Jun 2019 09:22:54 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shuah Khan Date: Wed, 26 Jun 2019 21:32:52 -0600 > On 6/26/19 9:25 PM, Jiunn Chang wrote: >> Shifting signed 32-bit value by 31 bits is undefined. Changing most >> significant bit to unsigned. >> Changes included in v2: >> - use subsystem specific subject lines >> - CC required mailing lists >> > > These version change lines don't belong in the change log. For networking changes I actually like the change lines to be in the commit log. So please don't stray people this way, thanks.