commit | 8ed5bb1b96dba1d6866337523e19c4fbf777431b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Jan 07 01:42:25 2020 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 12 11:24:27 2020 +0100 |
tree | 5bacd53e64f8caa6c785d03fcc64190657e51704 | |
parent | 57574c582f67fe9f821547230697fbecc3de564e [diff] |
vlan: vlan_changelink() should propagate errors [ Upstream commit eb8ef2a3c50092bb018077c047b8dba1ce0e78e3 ] Both vlan_dev_change_flags() and vlan_dev_set_egress_priority() can return an error. vlan_changelink() should not ignore them. Fixes: 07b5b17e157b ("[VLAN]: Use rtnl_link API") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>