]> git.baikalelectronics.ru Git - kernel.git/commit
mpls: Multicast route table change notifications
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 4 Mar 2015 01:14:31 +0000 (19:14 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2015 05:26:06 +0000 (00:26 -0500)
commit538abb09d274b02fc2bbf93582960205f048f01a
tree2c0562994dc0ee616aabef727064120cf615f356
parent363c15ace2e45d6a804b1d28d25f8ec8e4cff093
mpls: Multicast route table change notifications

Unlike IPv4 this code notifies on all cases where mpls routes
are added or removed and it never automatically removes routes.
Avoiding both the userspace confusion that is caused by omitting
route updates and the possibility of a flood of netlink traffic
when an interface goes doew.

For now reserved labels are handled automatically and userspace
is not notified.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h
net/mpls/af_mpls.c