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)
commit3741873b4f73b572b8f8835e6bd114e08316a160
tree55f5789f513a92a421d417cb469ab4a8922f6342
parent6bcfd7f8c28887a4298bc4386b02cb90c9fa0c13
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