Home
last modified time | relevance | path

Searched hist:bbcf91053bb622c4c26a9bfc998d3b0c59227f10 (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Ddevinet.cdiff bbcf91053bb622c4c26a9bfc998d3b0c59227f10 Tue Feb 27 10:24:10 CET 2024 Eric Dumazet <edumazet@google.com> inet: do not use RTNL in inet_netconf_get_devconf()

"ip -4 netconf show dev XXXX" no longer acquires RTNL.

Return -ENODEV instead of -EINVAL if no netdev or idev can be found.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240227092411.2315725-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>