fib_trie: Move rcu from key_vector to tnode, add accessors.
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 6 Mar 2015 17:54:33 +0000 (09:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:49:28 +0000 (15:49 -0500)
commit56ca2adf6ac1fca57f504ac1d76f7dff1dc08d3a
treedf9c55fc8ba9fd2bd111382eed0284395b9275f0
parentdc35dbeda3e00a05723784078a233c2531d34810
fib_trie: Move rcu from key_vector to tnode, add accessors.

RCU is only needed once for the entire node, not once per key_vector so we
can pull that out and move it to the tnode structure.

In addition add accessors to be used inside the RCU functions so that we
can more easily get from the key vector to either the tnode or the trie
pointers.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c