]> git.itanic.dy.fi Git - linux-stable/commit
IPv4: add extack info for IPv4 address add/delete
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 18 Aug 2023 08:25:23 +0000 (16:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Aug 2023 06:35:59 +0000 (07:35 +0100)
commitb4672c733713f3bc9029c83efa7a2f1ef42ddf5b
tree3e54fd90f994b1fa754c2395967ccc3fa144dcd7
parent669a55560e4b8fad3598d544d062ab40fd860bcb
IPv4: add extack info for IPv4 address add/delete

Add extack info for IPv4 address add/delete, which would be useful for
users to understand the problem without having to read kernel code.

No extack message for the ifa_local checking in __inet_insert_ifa() as
it has been checked in find_matching_ifa().

Suggested-by: Ido Schimmel <idosch@idosch.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c