From: Toshiaki Makita Date: Wed, 30 Jul 2014 04:31:51 +0000 (+0900) Subject: bridge: Don't include NDA_VLAN for FDB entries with vid 0 X-Git-Tag: cleanup-for-v3.18~108^2^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47fab41ab51a18a2e5fc4ec63f16b4c6702809b6;p=pandora-kernel.git bridge: Don't include NDA_VLAN for FDB entries with vid 0 An FDB entry with vlan_id 0 doesn't mean it is used in vlan 0, but used when vlan_filtering is disabled. There is inconsistency around NDA_VLAN whose payload is 0 - even if we add an entry by RTM_NEWNEIGH without any NDA_VLAN, and even though adding an entry with NDA_VLAN 0 is prohibited, we get an entry with NDA_VLAN 0 by RTM_GETNEIGH. Dumping an FDB entry with vlan_id 0 shouldn't include NDA_VLAN. Signed-off-by: Toshiaki Makita Signed-off-by: David S. Miller --- Reading git-diff-tree failed