net: rtnetlink: plumb extended ack to doit function
authorDavid Ahern <dsa@cumulusnetworks.com>
Sun, 16 Apr 2017 16:48:24 +0000 (09:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 19:35:38 +0000 (15:35 -0400)
commitc21ef3e343ae916ad3cfd4dc6ef6791c1f80a010
treebabe94fe139a27e7c998ef76ca6e0791d835a78c
parentaf3b5158b89d3bab9be881113417558c71b71ca4
net: rtnetlink: plumb extended ack to doit function

Add netlink_ext_ack arg to rtnl_doit_func. Pass extack arg to nlmsg_parse
for doit functions that call it directly.

This is the first step to using extended error reporting in rtnetlink.
>From here individual subsystems can be updated to set netlink_ext_ack as
needed.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
26 files changed:
drivers/net/vrf.c
include/net/fib_rules.h
include/net/rtnetlink.h
net/bridge/br_mdb.c
net/can/gw.c
net/core/fib_rules.c
net/core/neighbour.c
net/core/net_namespace.c
net/core/rtnetlink.c
net/dcb/dcbnl.c
net/decnet/dn_dev.c
net/decnet/dn_fib.c
net/decnet/dn_route.c
net/ipv4/devinet.c
net/ipv4/fib_frontend.c
net/ipv4/ipmr.c
net/ipv4/route.c
net/ipv6/addrconf.c
net/ipv6/addrlabel.c
net/ipv6/route.c
net/mpls/af_mpls.c
net/phonet/pn_netlink.c
net/qrtr/qrtr.c
net/sched/act_api.c
net/sched/cls_api.c
net/sched/sch_api.c