]> git.karo-electronics.de Git - linux-beck.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)
commit36fd2b63e3b4336744cf3f6a6c9543ecbec334a7
tree0793a71cf90d8bb3ea1573564ad5bed485324396
parentb078f0df676233fc7ebc1ab270bd11ef5824bb64
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