diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2014-07-30 06:31:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-31 21:18:44 +0200 |
commit | 47fab41ab51a18a2e5fc4ec63f16b4c6702809b6 (patch) | |
tree | 669e5b6dbbab7092176c3e2759f0712d3fe4d9d5 /drivers/watchdog/pnx4008_wdt.c | |
parent | bonding: use kobject_put instead of _del after kobject_add (diff) | |
download | linux-47fab41ab51a18a2e5fc4ec63f16b4c6702809b6.tar.xz linux-47fab41ab51a18a2e5fc4ec63f16b4c6702809b6.zip |
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 <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/watchdog/pnx4008_wdt.c')
0 files changed, 0 insertions, 0 deletions