Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3748564imu; Mon, 28 Jan 2019 10:06:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN62ZDALeLffp8quZ/VLgLWRFE3JpN/t9jEzYmsM/OAqroG841MA94h9LuBg3p+cqFT9x3OB X-Received: by 2002:a17:902:6502:: with SMTP id b2mr22412126plk.44.1548698762795; Mon, 28 Jan 2019 10:06:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548698762; cv=none; d=google.com; s=arc-20160816; b=dKTWHAndnFUalTWOKCThu7i1Qc/2blI9EM1ztCc67Iuhc1RKciXUO9DYxPa4QxhR6R 5S/Juwc2foRJ8XJshfUSCepa/1guEa7pP/DprdRazfeM7dnSUER7rLl0YybdA4sEivjo eHghKD1JgZGKNMHZYNOV2Ep0QjgsWvvTgmbiWlwdKEPo/CR5waFmyliWpmAY2SIRTFHT IboqpEQ3WfDYKb01HqOEtyw3U+j/mcaIt8fvJeG+9Gz2hHIckWnZvvm62ySu254twO8y V8n+hjbyoPkgrQ3SpRaMxTblJm0fB9nutDu3IHX6Typq2dVwvTpHkvBRDbJJ8DqpUbSt jSkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/szYvrSDJrZWv0e/DMQcKHb2F+VlTFitliuA1bO4nkQ=; b=FQexz4EBBr9Zm42eEtu5FgygsS5tPKVa78aPSaIZ6RvFiSNl8LRjuBHjXFzdjGbLcV ioevdZxSUzTwNodS+okaD/hNW+ZcHdqYAYxpo1Twn9olG1yFOCjSzhEEl4kMsSoXs0Q5 ULSkOIqbNkBEZY4PRVczLiYQwFDB4mcLd+n4xLZnDuzrPRl2/MVDyYhSldlb67E7lphV dF9zP6EwSFWkplMPnRfm0rGft0Q+NISPHr3P5ZX5kapIada/FBSXBarBdUhwUzZLYLCi fBQ0a+NYZisoeWdpCdgVx3Ux7QKeEkVHproFBYfWov24fehTfWWUTh10/J9gs65QcaKO eLLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x5PAnxXI; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10si34111778plh.307.2019.01.28.10.05.46; Mon, 28 Jan 2019 10:06:02 -0800 (PST) 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=@kernel.org header.s=default header.b=x5PAnxXI; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727410AbfA1SFL (ORCPT + 99 others); Mon, 28 Jan 2019 13:05:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:47122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727264AbfA1SFB (ORCPT ); Mon, 28 Jan 2019 13:05:01 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 741EA2175B; Mon, 28 Jan 2019 18:05:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548698700; bh=/szYvrSDJrZWv0e/DMQcKHb2F+VlTFitliuA1bO4nkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x5PAnxXIjoM1lDEvmNtkcFvaKpjq/0LG/0rY3z6JRoFSNoTYxy4BLcik1R7jJKUmu AgD3HKSCPm16aYo1z6Hwpbpk4PagPQ3HsU8V/+ZO7tRc9T6xrUN6FQqXAyl7Jy9PZD YBcv+gnvbznq2cALDCNOG1JBWigLv7RqhBkKCS8Q= Date: Mon, 28 Jan 2019 13:04:59 -0500 From: Sasha Levin To: Marcelo Ricardo Leitner Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, "David S. Miller" , linux-sctp@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH AUTOSEL 4.19 034/258] sctp: Fix SKB list traversal in sctp_intl_store_reasm(). Message-ID: <20190128180459.GG3973@sasha-vm> References: <20190128155924.51521-1-sashal@kernel.org> <20190128155924.51521-34-sashal@kernel.org> <20190128170434.GA10665@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190128170434.GA10665@localhost.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 28, 2019 at 03:04:34PM -0200, Marcelo Ricardo Leitner wrote: >On Mon, Jan 28, 2019 at 10:55:40AM -0500, Sasha Levin wrote: >> From: "David S. Miller" >> >> [ Upstream commit 348bbc25c40844c5efa083a3842c7f53d70a815e ] >> >> To be fully correct, an iterator has an undefined value when something >> like skb_queue_walk() naturally terminates. >> >> This will actually matter when SKB queues are converted over to >> list_head. >> >> Formalize what this code ends up doing with the current >> implementation. > >I don't think this patch is really needed for -stable without the SKB >queue convertion, but okay. I'll drop it. I'm not sure why this sctp patch wasn't filtered out as davem deals with net/. Sorry for the noise. -- Thanks, Sasha