On 4/7/21 9:59 AM, Stephen Hemminger wrote: > From: Stephen Hemminger <step...@networkplumber.org> > > Setting iftoken can fail for several different reasons but there > and there was no report to user as to the cause. Add netlink > extended errors to the processing of the request. > > This requires adding additional argument through rtnl_af_ops > set_link_af callback. > > Reported-by: Hongren Zheng <l...@zenithal.me> > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > --- > v2 - fix typo that broke build > > include/net/rtnetlink.h | 4 ++-- > net/core/rtnetlink.c | 2 +- > net/ipv4/devinet.c | 3 ++- > net/ipv6/addrconf.c | 32 ++++++++++++++++++++++++++------ > 4 files changed, 31 insertions(+), 10 deletions(-) >
Reviewed-by: David Ahern <dsah...@kernel.org>