]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Handle route deletion notification during flush
authorIdo Schimmel <idosch@mellanox.com>
Sat, 14 Dec 2019 15:53:12 +0000 (17:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2019 00:14:42 +0000 (16:14 -0800)
commite43970660a88b99d1c65005d7d99b51bf6507a50
tree7b4a85cd3f5b90a8baa606caa9f53926df72c25e
parent2ee7e850037936edb485b249c9a82eedf2726f8c
ipv4: Handle route deletion notification during flush

In a similar fashion to previous patch, when a route is deleted as part
of table flushing, promote the next route in the list, if exists.
Otherwise, simply emit a delete notification.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c