]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fib_trie: Rename tnode to key_vector
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 6 Mar 2015 17:54:08 +0000 (09:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:49:27 +0000 (15:49 -0500)
commit35c6edac197fcfb53cea9993d9b64386b15abf48
tree805ed820e32fb1a5bd0abea40393d3bef8422c4e
parent8d8e810ca8ec2541f30af916f0de1b41ac86ec4a
fib_trie: Rename tnode to key_vector

Rename the tnode to key_vector.  The key_vector will be the eventual
container for all of the information needed by either a leaf or a tnode.
The final result should be much smaller than the 40 bytes currently needed
for either one.

This also updates the trie struct so that it contains an array of size 1 of
tnode pointers.  This is to bring the structure more inline with how an
actual tnode itself is configured.

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