]> 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)
commitb1a592650b28ec5c929743cef051ab8e3cc01b2c
tree55f5789f513a92a421d417cb469ab4a8922f6342
parentcdf2988531a6ec5f8fc125074d504a94b8bf4c22
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