Message ID | 20210122135737.141511090@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1760389jam; Fri, 22 Jan 2021 10:41:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHjxJTadlLCDb/J+ymClOwAub03J57JwXerCWv8FDop0eCoGYLezu1d6hRSuYcY2zCJSXH X-Received: by 2002:a05:6402:5107:: with SMTP id m7mr506607edd.52.1611340900046; Fri, 22 Jan 2021 10:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611340900; cv=none; d=google.com; s=arc-20160816; b=jAuYdQZMCRlGGWUFTGipWBRFwuQohqdhgnQ3PZWz7zO+CTD+fX+SQNF5WUQmZBprwp QdulroeNmXdJjvVPGDBdKpyUvigvVW6tvRBJ9sufAOtN+/Fm4/ceGE1fb0mRBzwBA2bt OgIlRmmxLbY+5+JPA4yNfxDi5dYac+r15BeecwS6Dnt8caN4yBOrVXG34xhAouKxbQD+ QBKKYvYegcTQo6fxoMIenDWiN3Env079yHMuedlXnDlpbZuSamwVCz/jWtM0mhOJEeqb BFyRKowwumXtEoVQwPuh+onjv2l+n22br31h1baObguV9Q0Mnbbk5ni3AcAE/ihTECnf LPKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=j0bT1B9v8xWamCYZRQYmFhs8I1tNIk8UOvzCOH7aifc=; b=LmtNMgIMoROjXHuM0NTZvVl77K4/NSiYPDMWOu3wgbuxvaeoM3nIheXrp9tEZ9tGkw hWalHhzOf69U+s8ZdDeIoIzS9YtF51YIimhNsKL3mQ4HW9/Va5w9tozqmruOdkQm42OR lxxkcJR5CaZah/nUYRC2SOKLR/65Qg6a7x1mScR181EM2DSNX/W/BmD99Yiy32CJlLwb 4ikmQYp/hDjm7uTeTenbldIZm8xQbjs/ef4DKWJfaimuitA+zSI4YrX8edKTPqTN2QJO n5okR4aHCaGJZ6+ZEWgc8HUypzDx00M2MNF3UB3biUxbhZCqy0WGq8S5vxhZWX2qCKAq lQGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AK8CsBYI; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si4071167edr.397.2021.01.22.10.41.39; Fri, 22 Jan 2021 10:41:40 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AK8CsBYI; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729821AbhAVSlM (ORCPT <rfc822;semen.protsenko@linaro.org> + 13 others); Fri, 22 Jan 2021 13:41:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:38774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728490AbhAVOVB (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 22 Jan 2021 09:21:01 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6CD7823A5E; Fri, 22 Jan 2021 14:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611324898; bh=TXxsdnX1doUwS58N40PIbx/HhjXri9vMZGoR5PQp0q4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AK8CsBYIwdbTffv8wCU4h6rAjb/fOeT0mLEWLFUSrDgUN6xTNY2j7UQbyt9doBS33 AE7QADQBfcopCl8wcbjty5i8HO28RMQ45Zx62vaX5U+0F9EVORG4gqrQaj8Cji2e46 AnNkwxlv1OCGPZ8tx6wLcLtwwzu6Z9KpVQaKU9z4= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, "Jason A. Donenfeld" <Jason@zx2c4.com>, "David S. Miller" <davem@davemloft.net> Subject: [PATCH 4.14 48/50] net: skbuff: disambiguate argument and member for skb_list_walk_safe helper Date: Fri, 22 Jan 2021 15:12:29 +0100 Message-Id: <20210122135737.141511090@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210122135735.176469491@linuxfoundation.org> References: <20210122135735.176469491@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1341,9 +1341,9 @@ static inline void skb_mark_not_on_list( } /* Iterate through singly-linked GSO fragments of an skb. */ -#define skb_list_walk_safe(first, skb, next) \ - for ((skb) = (first), (next) = (skb) ? (skb)->next : NULL; (skb); \ - (skb) = (next), (next) = (skb) ? (skb)->next : NULL) +#define skb_list_walk_safe(first, skb, next_skb) \ + for ((skb) = (first), (next_skb) = (skb) ? (skb)->next : NULL; (skb); \ + (skb) = (next_skb), (next_skb) = (skb) ? (skb)->next : NULL) static inline void skb_list_del_init(struct sk_buff *skb) {