From: Vlad Yasevich Date: Fri, 3 Oct 2014 15:29:17 +0000 (-0400) Subject: bridge: Simplify pvid checks. X-Git-Tag: fixes-against-v3.18-rc2~144^2~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df6bf45ec008942f16f1814123c4bdebcf50741;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed