aboutsummaryrefslogtreecommitdiff
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2023-06-12 11:32:45 +0100
committerDavid S. Miller <davem@davemloft.net>2023-06-12 11:32:45 +0100
commitf2f069da4c40dcf136db731c9fece17c3bbf7cdc (patch)
tree4d86ba36fb3a24593be237c151aad15439d1bea8 /include/linux/netlink.h
parent238131684f7b1bc2e0788583f22ed67bf3f5ca37 (diff)
parent500e1340d1d2695de3f15fc0b3781f593a77acc2 (diff)
downloadlinux-f2f069da4c40dcf136db731c9fece17c3bbf7cdc.tar.gz
linux-f2f069da4c40dcf136db731c9fece17c3bbf7cdc.tar.bz2
linux-f2f069da4c40dcf136db731c9fece17c3bbf7cdc.zip
Merge branch 'ethtool-extack'
Jakub Kicinski says: ==================== net: support extack in dump and simplify ethtool uAPI Ethtool currently requires header nest to be always present even if it doesn't have to carry any attr for a given request. This inflicts unnecessary pain on the users. What makes it worse is that extack was not working in dump's ->start() callback. Address both of those issues. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 19c0791ed9d5..9eec3f4f5351 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -311,6 +311,7 @@ struct netlink_dump_control {
int (*start)(struct netlink_callback *);
int (*dump)(struct sk_buff *skb, struct netlink_callback *);
int (*done)(struct netlink_callback *);
+ struct netlink_ext_ack *extack;
void *data;
struct module *module;
u32 min_dump_alloc;