]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtnetlink: remove pad field in ndo_fdb_dump_context
authorEric Dumazet <edumazet@google.com>
Mon, 9 Dec 2024 10:07:47 +0000 (10:07 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Dec 2024 02:32:33 +0000 (18:32 -0800)
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>
include/linux/rtnetlink.h

index 5546571c25537d9a601aaa7a78594147ae7b6421..3b9d132cbc9ef38007c48b01d0d9fc50c72cd254 100644 (file)
@@ -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;
 };