]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Allow notifier to fail route replace
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 28 Mar 2018 01:21:58 +0000 (18:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 18:10:30 +0000 (14:10 -0400)
commit79c4325ebe3b5e076dc07d0c800a1584f250a401
treeb35edca145e6c6decc9dd9dd1969f1cc57a4d01a
parent720b11ae58a4c71ee9457ffa3bb2b64ffe9d65d7
net/ipv4: Allow notifier to fail route replace

Add checking to call to call_fib_entry_notifiers for IPv4 route replace.
Allows a notifier handler to fail the replace.

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