]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: allow creating/deleting fdb entries via netlink
authorstephen hemminger <shemminger@vyatta.com>
Mon, 4 Apr 2011 14:03:31 +0000 (14:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2011 00:22:28 +0000 (17:22 -0700)
commit6f698047045218c792270b90c8b3023f5d62ef10
tree0793a71cf90d8bb3ea1573564ad5bed485324396
parentbc4407aa0b445a3e76686c0a9aee305d56f30030
bridge: allow creating/deleting fdb entries via netlink

Use RTM_NEWNEIGH and RTM_DELNEIGH to allow updating of entries
in bridge forwarding table. This allows manipulating static entries
which is not possible with existing tools.

Example (using bridge extensions to iproute2)
   # br fdb add 00:02:03:04:05:06 dev eth0

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_netlink.c
net/bridge/br_private.h