Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2332922ybd; Thu, 27 Jun 2019 10:35:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZjUUJC9FT9GzQwM3M/8madjfrabHAgmO0vJhOwa/S9C9EDaqS94bYJfeeTJQR/fPSOSjM X-Received: by 2002:a17:90a:fa07:: with SMTP id cm7mr7477594pjb.115.1561656925081; Thu, 27 Jun 2019 10:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561656925; cv=none; d=google.com; s=arc-20160816; b=HAI+iItmaamFU7Bt1oM0Kw9dIJZ4MmnmYBZkSPMpa8W34O+9KYomnfOTpP5tf/ojFi 1Ct6LWcEua9af7HSqblpLJgCq1aG9gpJ2f3MCv7RjpeA6Qbez/tnQTB14mFqghGdyPap 0m5hBsQJvNg2kdtCcBGrCjFrYF0nASkM10uQEyBqZoNE06wKfxpKKBPaTenOnhHt2QFN rsYUvY7RaIVJVh9WyjYYkxjyntQ74SxuQqV4uawaQNHGNw3yYyc+0wDJ2OS2fNdsTjoO w5lWhgVjEHRdlkmK71ph1S6/38ope1Yel8/R/Et3dA2PH3Sf3NcJs9TUP5kM0QvFS4Xp RO0A== 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=bQWp7H7oX1JodkhRhG36Lhl8bVSS0t8Rpf+6QYcX1Wg=; b=CqKJy+jpmMmjbmcLDO5LKQYAw9RldFDsfVaitt7h1IsfvTuIA5PHkTbZFcfE4R8973 2Naoj1fUG1rGDR5CDCaBmLGObFH7x6Tcxqe7/wPD2PJIWX4s2uW4JJzN0GKvmUbOwkgZ ZpXC9TqFrJvEtf6Y0oy02zTl+GeZC2PZWsyL90j/Fs1a4X84ylTm5bIfKqAksEe5bESs eaGkkqH7yqhqqPQX6pq4XLsSx+Spt4uj6SXXCmpN0BtdLDblsWSVQragVhhtc3IOh5yg sbQDlLHlJdOUdtUc6QDZI/WlLp6PowK4P6A+odRHVsIGBRlBxW2+Lgr3zBnBpBGZb2/b 8avg== 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 i95si2690330plb.106.2019.06.27.10.35.08; Thu, 27 Jun 2019 10:35:25 -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 S1726716AbfF0ReZ (ORCPT + 99 others); Thu, 27 Jun 2019 13:34:25 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56962 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbfF0ReZ (ORCPT ); Thu, 27 Jun 2019 13:34:25 -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 D377914DB8767; Thu, 27 Jun 2019 10:34:24 -0700 (PDT) Date: Thu, 27 Jun 2019 10:34:24 -0700 (PDT) Message-Id: <20190627.103424.2376390104509352.davem@davemloft.net> To: c0d1n61at3@gmail.com Cc: skhan@linuxfoundation.org, 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: <20190627165726.p6k3tugjs2gzgnjh@rYz3n> References: <7f6f44b2-3fe4-85f6-df3c-ad59f2eadba2@linuxfoundation.org> <20190627.092253.1878691006683087825.davem@davemloft.net> <20190627165726.p6k3tugjs2gzgnjh@rYz3n> 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 10:34:25 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiunn Chang Date: Thu, 27 Jun 2019 11:57:28 -0500 > On Thu, Jun 27, 2019 at 09:22:53AM -0700, David Miller wrote: >> 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. > > Hello David, > > Would you like me to send v3 with the change log in the patch description? I'll use v2 which had this done correctly.