]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: vlan_changelink() should propagate errors
authorEric Dumazet <edumazet@google.com>
Tue, 7 Jan 2020 09:42:25 +0000 (01:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:35:14 +0000 (13:35 -0800)
commit75c4cf317f5b67b65187a14833fe8de28ed0e62f
treedf912ab83fce82448d560bddd8883a898aa7fb13
parent11583fcb7fcedc443d29ab670ece36ebad4c5a19
vlan: vlan_changelink() should propagate errors

Both vlan_dev_change_flags() and vlan_dev_set_egress_priority()
can return an error. vlan_changelink() should not ignore them.

Fixes: 150606db5e80 ("[VLAN]: Use rtnl_link API")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_netlink.c