]> git.ipfire.org Git - thirdparty/linux.git/commit - kernel/audit.c
netlink: extended ACK reporting
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Apr 2017 12:34:04 +0000 (14:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Apr 2017 17:58:20 +0000 (13:58 -0400)
commit2d4bc93368f5a0ddb57c8c885cdad9c9b7a10ed5
tree9a2dc502e27712a7742ae9315543395a29487fc9
parentfb9eb899a6dc663e4a2deed9af2ac28f507d0ffb
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>
17 files changed:
crypto/crypto_user.c
drivers/infiniband/core/netlink.c
drivers/scsi/scsi_netlink.c
include/linux/netlink.h
include/net/netlink.h
include/uapi/linux/netlink.h
kernel/audit.c
net/core/rtnetlink.c
net/core/sock_diag.c
net/decnet/netfilter/dn_rtmsg.c
net/hsr/hsr_netlink.c
net/netfilter/ipset/ip_set_core.c
net/netfilter/nfnetlink.c
net/netlink/af_netlink.c
net/netlink/af_netlink.h
net/netlink/genetlink.c
net/xfrm/xfrm_user.c