]> git.baikalelectronics.ru Git - 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)
commit30f2076c589e7b9d24e880ddfea56ebed737fe5e
treefa2e455e3b73d5a5f7f265f2e384f00ea92e5cad
parente3aafbdfa186086dc7da57c7e1dc6f46dd08f0c6
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