OSDN Git Service

net: Add extack to validator_info structs used for address notifier
authorDavid Ahern <dsahern@gmail.com>
Wed, 18 Oct 2017 16:56:54 +0000 (09:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:15:07 +0000 (13:15 +0100)
commitde95e04791a03de5cb681980a3880db6919e3b4a
treebd085d94eee4f421f39b6fc650cdb86a54bb379c
parentff7883ea60e7b021bcd6539b8211879554c8db9a
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>
drivers/net/ipvlan/ipvlan_main.c
include/linux/inetdevice.h
include/net/addrconf.h
net/ipv4/devinet.c
net/ipv6/addrconf.c