aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netlink.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-04-12 08:34:04 -0400
committerDavid S. Miller <davem@davemloft.net>2017-04-13 13:58:20 -0400
commit2d4bc93368f5a0ddb57c8c885cdad9c9b7a10ed5 (patch)
tree9a2dc502e27712a7742ae9315543395a29487fc9 /include/net/netlink.h
parentfb9eb899a6dc663e4a2deed9af2ac28f507d0ffb (diff)
netlink: extended ACK reporting
Add the base infrastructure and UAPI for netlink extended ACK reporting. All "manual" calls to netlink_ack() pass NULL for now and thus don't get extended ACK reporting. Big thanks goes to Pablo Neira Ayuso for not only bringing up the whole topic at netconf (again) but also coming up with the nlattr passing trick and various other ideas. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r--include/net/netlink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h
index b239fcd33d80..a064ec3e2ee1 100644
--- a/include/net/netlink.h
+++ b/include/net/netlink.h
@@ -233,7 +233,8 @@ struct nl_info {
233}; 233};
234 234
235int netlink_rcv_skb(struct sk_buff *skb, 235int netlink_rcv_skb(struct sk_buff *skb,
236 int (*cb)(struct sk_buff *, struct nlmsghdr *)); 236 int (*cb)(struct sk_buff *, struct nlmsghdr *,
237 struct netlink_ext_ack *));
237int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid, 238int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
238 unsigned int group, int report, gfp_t flags); 239 unsigned int group, int report, gfp_t flags);
239 240