From: Jiri Pirko Date: Sun, 14 Oct 2012 04:30:56 +0000 (+0000) Subject: vlan: fix bond/team enslave of vlan challenged slave/port X-Git-Tag: v3.7-rc2~33^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55462cf30ad9768fff6a6d36db21879146a39bdf;p=pandora-kernel.git vlan: fix bond/team enslave of vlan challenged slave/port In vlan_uses_dev() check for number of vlan devs rather than existence of vlan_info. The reason is that vlan id 0 is there without appropriate vlan dev on it by default which prevented from enslaving vlan challenged dev. Reported-by: Jon Stanley Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed