]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: allow adding of fdb entries pointing to the bridge device
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 8 Oct 2015 17:38:52 +0000 (10:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2015 12:11:58 +0000 (05:11 -0700)
commit51b9ae9c5d38816e4093c50d148fcb30a51bab8d
tree55f5789f513a92a421d417cb469ab4a8922f6342
parent00008c36dc130905cdefda2c946d31fba0477b85
bridge: allow adding of fdb entries pointing to the bridge device

This patch enables adding of fdb entries pointing to the bridge device.
This can be used to propagate mac address of vlan interfaces
configured on top of the vlan filtering bridge.

Before:
$bridge fdb add 44:38:39:00:27:9f dev bridge
RTNETLINK answers: Invalid argument

After:
$bridge fdb add 44:38:39:00:27:9f dev bridge

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_vlan.c