summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-12-09 10:07:47 +0000
committerJakub Kicinski <kuba@kernel.org>2024-12-10 18:32:33 -0800
commit53a6d8912372fc23ea82cc7a49eb59047aa0a650 (patch)
tree63c64074a98fa8303d59a012af7b31f0cb010e05
parent53970a05f799087e2dd2005973609188504e7fcc (diff)
rtnetlink: remove pad field in ndo_fdb_dump_context
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 <edumazet@google.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20241209100747.2269613-4-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--include/linux/rtnetlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 5546571c2553..3b9d132cbc9e 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;
};