commit | 3df6bf45ec008942f16f1814123c4bdebcf50741 | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vyasevich@gmail.com> | Fri Oct 03 11:29:17 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 05 21:21:36 2014 -0400 |
tree | b32c86020856bb9ad6065d28c2bff015efeb54c0 | |
parent | 96a20d9d7fff7068a2233b00379f0778a150bf86 [diff] |
bridge: Simplify pvid checks. Currently, if the pvid is not set, we return an illegal vlan value even though the pvid value is set to 0. Since pvid of 0 is currently invalid, just return 0 instead. This makes the current and future checks simpler. Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>