bridge: add flags to distinguish permanent mdb entires
authorAmerigo Wang <amwang@redhat.com>
Fri, 14 Dec 2012 22:09:51 +0000 (22:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2012 01:14:39 +0000 (17:14 -0800)
commitccb1c31a7a8744cd153a7d92b726a56b56ad61d3
tree1c62ac2565c657155474b3e8335a13ebcc35560e
parent9dd9ff99532d7a7f8222fd1f0d410d91c0f15ac5
bridge: add flags to distinguish permanent mdb entires

This patch adds a flag to each mdb entry, so that we can distinguish
permanent entries with temporary entries.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: "David S. Miller" <davem@davemloft.net>
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