diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-12-23 15:28:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-24 22:37:29 -0800 |
commit | 0ee0f47c26b2f909ec95d7d8fed8119e288c4dd3 (patch) | |
tree | 74c63019a152e619357feda8396de3b90dde45b5 /net/ipv6/ip6_fib.c | |
parent | 51bf7f387fdfe5ec8c33734b3124ccec83c8d0c3 (diff) |
ipv6: Notify multipath route if should be offloaded
In a similar fashion to previous patches, only notify the new multipath
route if it is the first route in the node or if it was appended to such
route.
The type of the notification (replace vs. append) is determined based on
the number of routes added ('nhn') and the number of sibling routes. If
the two do not match, then an append notification should be sent.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
0 files changed, 0 insertions, 0 deletions