ipv4: fib: Convert FIB notification chain to be atomic
authorIdo Schimmel <idosch@mellanox.com>
Sat, 3 Dec 2016 15:45:05 +0000 (16:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2016 00:29:35 +0000 (19:29 -0500)
commitd3f706f68e2fd93f1172fe7fd6f16ba70cc52b31
tree7ed7af2a9378b4678d1b39966e7937930fb36c9d
parent17f8be7dafce4e4b92fbe7bfec605944df290546
ipv4: fib: Convert FIB notification chain to be atomic

In order not to hold RTNL for long periods of time we're going to dump
the FIB tables using RCU.

Convert the FIB notification chain to be atomic, as we can't block in
RCU critical sections.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c