[Bridge] [PATCH v3 net-next 2/3] bridge: Simplify pvid checks.

Toshiaki Makita makita.toshiaki at lab.ntt.co.jp
Fri Oct 3 01:11:27 UTC 2014


On 2014/10/03 8:54, Vladislav Yasevich wrote:
> 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 at redhat.com>

Acked-by: Toshiaki Makita <makita.toshiaki at lab.ntt.co.jp>

Thanks,
Toshiaki Makita



More information about the Bridge mailing list