]> 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)
commite00dfff430f17e28e1918684ddd04fd847f2e181
tree2c0562994dc0ee616aabef727064120cf615f356
parent9215d022970b64ec7ec8e36610f3c4c60ebe3c74
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