]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: return after vlan prepare phase
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 8 Nov 2017 15:50:10 +0000 (10:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 06:45:09 +0000 (15:45 +0900)
commit548620fab29a2cf4252e5b61f2e5ea72eac79ca4
tree164f16f86631b705edea08104baa9dd30bc60ae8
parent34b679fd262ca239aef2502cc988592fc65a6b9e
net: dsa: return after vlan prepare phase

The current code does not return after successfully preparing the VLAN
addition on every ports member of a it. Fix this.

Fixes: 6d0b9481f0f7 ("net: dsa: check VLAN capability of every switch")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/switch.c