From: Eric Dumazet Date: Mon, 9 Dec 2024 10:07:47 +0000 (+0000) Subject: rtnetlink: remove pad field in ndo_fdb_dump_context X-Git-Tag: v6.14-rc1~162^2~247^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53a6d8912372fc23ea82cc7a49eb59047aa0a650;p=thirdparty%2Flinux.git 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 Reviewed-by: Ido Schimmel Reviewed-by: Kuniyuki Iwashima Link: https://patch.msgid.link/20241209100747.2269613-4-edumazet@google.com Signed-off-by: Jakub Kicinski --- diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 5546571c25537..3b9d132cbc9ef 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; };