diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-27 12:24:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-29 06:36:40 +0300 |
commit | bbcf91053bb622c4c26a9bfc998d3b0c59227f10 (patch) | |
tree | 93be235507dc2296e9f60ff594886f3ca6de5820 /scripts/nsdeps | |
parent | 0598f8f3bb77893a13105d47bb7dfe42f1dc1f4e (diff) | |
download | linux-bbcf91053bb622c4c26a9bfc998d3b0c59227f10.tar.xz |
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>
Diffstat (limited to 'scripts/nsdeps')
0 files changed, 0 insertions, 0 deletions