bridge: add support of adding and deleting mdb entries
authorCong Wang <amwang@redhat.com>
Tue, 11 Dec 2012 22:23:08 +0000 (22:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Dec 2012 18:02:30 +0000 (13:02 -0500)
commitcfd567543590f71ca0af397437e2554f9756d750
treeb21b43cc137cb00386bd2d0d1533c9742224a050
parent37a393bc4932d7bac360f40064aaafc01ab44901
bridge: add support of adding and deleting mdb entries

This patch implents adding/deleting mdb entries via netlink.
Currently all entries are temp, we probably need a flag to distinguish
permanent entries too.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_bridge.h
net/bridge/br_mdb.c
net/bridge/br_multicast.c
net/bridge/br_private.h