diff options
| author | Florent Fourcot <florent.fourcot@wifirst.fr> | 2022-04-15 19:53:29 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2022-04-19 14:38:50 +0300 |
| commit | dee04163e9f2feabb77615c630a1e31a91cc4449 (patch) | |
| tree | cea6e03d6977ee1c74479bd2d85f18a8ea3a020f /include | |
| parent | 5ea08b5286f66ee5ac0150668c92d1718e83e1ad (diff) | |
| download | linux-dee04163e9f2feabb77615c630a1e31a91cc4449.tar.xz | |
rtnetlink: return ENODEV when IFLA_ALT_IFNAME is used in dellink
If IFLA_ALT_IFNAME is set and given interface is not found,
we should return ENODEV and be consistent with IFLA_IFNAME
behaviour
This commit extends feature of commit 76c9ac0ee878,
"net: rtnetlink: add possibility to use alternative names as message handle"
CC: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr>
Signed-off-by: Brian Baboch <brian.baboch@wifirst.fr>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
