diff options
author | David Ahern <dsahern@gmail.com> | 2017-10-18 18:56:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-20 14:15:07 +0200 |
commit | de95e04791a03de5cb681980a3880db6919e3b4a (patch) | |
tree | bd085d94eee4f421f39b6fc650cdb86a54bb379c /include/net/addrconf.h | |
parent | net: ipv6: Make inet6addr_validator a blocking notifier (diff) | |
download | linux-de95e04791a03de5cb681980a3880db6919e3b4a.tar.xz linux-de95e04791a03de5cb681980a3880db6919e3b4a.zip |
net: Add extack to validator_info structs used for address notifier
Add extack to in_validator_info and in6_validator_info. Update the one
user of each, ipvlan, to return an error message for failures.
Only manual configuration of an address is plumbed in the IPv6 code path.
Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 87981cd63180..b8b16437c6d5 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -55,6 +55,7 @@ struct prefix_info { struct in6_validator_info { struct in6_addr i6vi_addr; struct inet6_dev *i6vi_dev; + struct netlink_ext_ack *extack; }; #define IN6_ADDR_HSIZE_SHIFT 4 |