diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-02-02 12:37:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-04 19:58:14 -0500 |
commit | 16a16cd35ee29d9bea54dd60e55d9c1cc685a37d (patch) | |
tree | 9b1e0754092bc242f81e25e16cc443e2f5d83681 /include/net/tc_act | |
parent | 3b1137fe74829e021f483756a648cbb87c8a1b4a (diff) |
net: ipv6: Change notifications for multipath delete to RTA_MULTIPATH
If an entire multipath route is deleted using prefix and len (without any
nexthops), send a single RTM_DELROUTE notification with the full route
using RTA_MULTIPATH. This is done by generating the skb before the route
delete when all of the sibling routes are still present but sending it
after the route has been removed from the FIB. The skip_notify flag
is used to tell the lower fib code not to send notifications for the
individual nexthop routes.
If a route is deleted using RTA_MULTIPATH for any nexthops or a single
nexthop entry is deleted, then the nexthops are deleted one at a time with
notifications sent as each hop is deleted. This is necessary given that
IPv6 allows individual hops within a route to be deleted.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act')
0 files changed, 0 insertions, 0 deletions