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>
This commit is contained in:

committed by
David S. Miller

parent
ff7883ea60
commit
de95e04791
@@ -154,6 +154,7 @@ struct in_ifaddr {
|
||||
struct in_validator_info {
|
||||
__be32 ivi_addr;
|
||||
struct in_device *ivi_dev;
|
||||
struct netlink_ext_ack *extack;
|
||||
};
|
||||
|
||||
int register_inetaddr_notifier(struct notifier_block *nb);
|
||||
|
Reference in New Issue
Block a user