net: rtnetlink notify events for FDB NTF_SELF adds and deletes
authorJohn Fastabend <[email protected]>
Sun, 15 Apr 2012 06:44:14 +0000 (06:44 +0000)
committerDavid S. Miller <[email protected]>
Sun, 15 Apr 2012 17:06:04 +0000 (13:06 -0400)
commit3ff661c38c8492a2859e39e0ea1e3b6d30e89bf5
treeb9bbd41a8fd1764cc49e8a2bb7c777328800eaa8
parentd83b060360485454fcd6870340ec01d6f96f2295
net: rtnetlink notify events for FDB NTF_SELF adds and deletes

It is useful to be able to monitor for FDB events in user space.
This patch adds support to generate netlink events when a change
is made to a device supporting the FDB ops.

This brings embedded switches inline with the SW net/bridge which
triggers events on FDB updates as well.

Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/core/rtnetlink.c