OSDN Git Service

bridge: mdb: notify on router port add and del
authorSatish Ashok <sashok@cumulusnetworks.com>
Thu, 23 Jul 2015 12:00:53 +0000 (05:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 04:19:58 +0000 (21:19 -0700)
commit949f1e39a6177503349ef8adeedd13fa1c89e5dd
tree0c2a46ab880db46ee42e0d69f7870d138013162b
parent597798e438371128519fa94dacdc42311b4254a6
bridge: mdb: notify on router port add and del

Send notifications on router port add and del/expire, re-use the already
existing MDBA_ROUTER and send NEWMDB/DELMDB netlink notifications
respectively.

Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c
net/bridge/br_multicast.c
net/bridge/br_private.h