diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-27 09:24:10 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-28 19:36:40 -0800 |
commit | bbcf91053bb622c4c26a9bfc998d3b0c59227f10 (patch) | |
tree | 93be235507dc2296e9f60ff594886f3ca6de5820 /net/ipv4/inetpeer.c | |
parent | 0598f8f3bb77893a13105d47bb7dfe42f1dc1f4e (diff) |
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 'net/ipv4/inetpeer.c')
0 files changed, 0 insertions, 0 deletions