Home
last modified time | relevance | path

Searched hist:"3 df6bf45" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_private.h3df6bf45 Fri Oct 03 10:29:17 CDT 2014 Vlad Yasevich <vyasevich@gmail.com> 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>
3df6bf45 Fri Oct 03 10:29:17 CDT 2014 Vlad Yasevich <vyasevich@gmail.com> 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>
H A Dbr_vlan.c3df6bf45 Fri Oct 03 10:29:17 CDT 2014 Vlad Yasevich <vyasevich@gmail.com> 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>
3df6bf45 Fri Oct 03 10:29:17 CDT 2014 Vlad Yasevich <vyasevich@gmail.com> 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>