]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipv6: Handle multipath route deletion notification
authorIdo Schimmel <idosch@mellanox.com>
Mon, 23 Dec 2019 13:28:18 +0000 (15:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Dec 2019 06:37:30 +0000 (22:37 -0800)
commit0284696b97b2fad1b220871559dff410cc3187e0
treefa2e455e3b73d5a5f7f265f2e384f00ea92e5cad
parentd2f0c9b11410f9c6a07c126f8a215b0b81cdcf6c
ipv6: Handle multipath route deletion notification

When an entire multipath route is deleted, only emit a notification if
it is the first route in the node. Emit a replace notification in case
the last sibling is followed by another route. Otherwise, emit a delete
notification.

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>
net/ipv6/route.c