OSDN Git Service

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)
commit525bc345fcbc6f0d58977452999dd18a15dc0e9b
tree7b4a85cd3f5b90a8baa606caa9f53926df72c25e
parentf613b6e2ffe13e9acba0d330a058b87aa0e19a2a
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