From: David Ahern <d...@cumulusnetworks.com> Date: Tue, 17 Jan 2017 13:46:22 -0700
> In short seems like removing the dev + the current patch dropping > the lock fixes the current deadlock problem and should be fine. What about the state recorded by fib_get_nhs() and similar? There is a mapping from ifindex to ->nh_dev which would be invalidated if the RTNL semaphore is dropped. It won't get updated by device events, which is what normally happens, because the fib_info is not in any of the fib_trie tables yet. So I think you still have a huge problem without doing proper restarts.