Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0971216E0D for ; Mon, 9 Dec 2024 10:07:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733738876; cv=none; b=jMXws8BklxQCJ65KBTNcpRnh9DzlkEqTmQYJwCbcQUThAdu2bj8JuQ0+LyvWCNBuKzlkf+QnZu6tnURB1QPK5wLJ0ycTPrIZ+cxN9ARq9/NmsK0T+CBVUxlK8paXMOSGCEh7JMrKyeUCiFxmecep4Wbpl+7i8CN7AeAKq0rOpSA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733738876; c=relaxed/simple; bh=8xxlCLEmX5IzwHr+HlPsh8ho+d8E+ltz36Vu01KXIO0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Xk4H2AbaJKR8uHbF8R/f7Rz8tOMx9PJJqqcjzgUOC0mkbix6OFa/SVu9/S4GhI52B3luvgU63RBtv3pzRwAwKeGxcFzNTQT5PP27OClYqJoHnMm7XkmWywMLXJBixCgROJ54AYnGV3Wi/t4vp1JFndHFJ6h6v5V1f/bqy5u287g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edumazet.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=kosHdIfK; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edumazet.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="kosHdIfK" Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-e38902a3200so8496020276.2 for ; Mon, 09 Dec 2024 02:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1733738874; x=1734343674; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ZwMO66CnlgZQswBuDJJhAg7/MBDE5Pzh4mwB6lYj7Ys=; b=kosHdIfKiXj7yWxwoA/sB+jj2kt82cIT6tzIXc+n3HOhrrbHVoAXNMM/A56Eo7GncK CtkB4ARBJi8IJs+tfRS82zgfxhXjIS6fwcjFBQQTmfvZtFJxPrqiPWQ0svL9dobJgNxX IsGG02r3ySohmVL07oJfaMBZZTs7rSLBrsgU6j/ZgKZ9qTKaEq+PifuvyZW3L9ZGNZ1T i4p6FSPJyMCKMNXF+/3w1qky7HIZideruqGimLFv4By6PxdF6VVzktGYVOznJVgk+yma HcIKQQUHZ+bbBTkbNuqqG2D9F2hDqiCGVrc6RGmC5G8cj//htDxW7V6wGT6Dcf1Q1yPS jmCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733738874; x=1734343674; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZwMO66CnlgZQswBuDJJhAg7/MBDE5Pzh4mwB6lYj7Ys=; b=GFYtu2hNamMTZQ5c65eXeBBhG5A212uoOgDkW508/8lT4c+r9sepJk/qjANfR0+KcY 1hcow5LIBqV3+SM7/sAGGSdV18/ZeL5hAx10BIYuWiat5c6OSkr6fB4bPUMKlcB5pCsz tUk0X9LO8LidRly2v3EaghkQO0b9EgNE/JjlwDjDPSmz8pZ/YNOP5Bc4HqihL8vW2uKw EwBXSUPdIamkmzErmXSf8zaS3FHXixDX9Y+mG1Kfnsn/2EFQOBVU7ORgnXeU4N6FTVtP TpuGrKEDWvKo/D7DyBT11go85Sk1l2mS1b8QodakkFgCabyLQBzHrlTO+BZ/t+JTXSnw FN9w== X-Gm-Message-State: AOJu0YyTWWOdMRNJ3HJfi2YXA+8BjzyE2NEoBvbUycsHbUU5foFi5MAo 5YoSg4nA9izf/ju8I12s4YeJzj2/VyvGBip+uqn6gw1BLIl/Niq77aru1MKBoDHWK8hI39x2fK+ it5s3hBfy4g== X-Google-Smtp-Source: AGHT+IHs0DyW1RDgo3EvbunQHqAjGHyqm/3WruQUE68Yg+3cozyqkpZ2pUgzoTnpm1YQnPMXjjnOLmfaZqyNYA== X-Received: from qtbhg22.prod.google.com ([2002:a05:622a:6116:b0:462:4391:1c48]) (user=edumazet job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6902:2b8f:b0:e2b:e0ba:d50 with SMTP id 3f1490d57ef6-e3a0b072fccmr13163722276.5.1733738874021; Mon, 09 Dec 2024 02:07:54 -0800 (PST) Date: Mon, 9 Dec 2024 10:07:47 +0000 In-Reply-To: <20241209100747.2269613-1-edumazet@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20241209100747.2269613-1-edumazet@google.com> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog Message-ID: <20241209100747.2269613-4-edumazet@google.com> Subject: [PATCH v2 net-next 3/3] rtnetlink: remove pad field in ndo_fdb_dump_context From: Eric Dumazet To: "David S . Miller" , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, Simon Horman , Roopa Prabhu , Kuniyuki Iwashima , Ido Schimmel , eric.dumazet@gmail.com, Eric Dumazet Content-Type: text/plain; charset="UTF-8" I chose to remove this field in a separate patch to ease potential bisection, in case one ndo_fdb_dump() is still using the old way (cb->args[2] instead of ctx->fdb_idx) Signed-off-by: Eric Dumazet Reviewed-by: Ido Schimmel Reviewed-by: Kuniyuki Iwashima --- include/linux/rtnetlink.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 2b17d7eebd92342e472b9eb3b2ade84bc8ae2e94..af668b79eb757c86970b2455d9d820c902699a13 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -181,7 +181,6 @@ void rtnl_kfree_skbs(struct sk_buff *head, struct sk_buff *tail); /* Shared by rtnl_fdb_dump() and various ndo_fdb_dump() helpers. */ struct ndo_fdb_dump_context { unsigned long ifindex; - unsigned long pad; unsigned long fdb_idx; }; -- 2.47.0.338.g60cca15819-goog