diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2014-12-31 10:55:35 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-31 18:25:54 -0500 |
commit | 64c9b6fb26ebcc82e36438d4084f2258f29dbadf (patch) | |
tree | baa87b4d1e3cbb74096830275d4b46828212d7a4 /net/ipv4/tcp_fastopen.c | |
parent | 8274a97aa4c694ad0d7b31b283a89dcca140e62b (diff) |
fib_trie: Make leaf and tnode more uniform
This change makes some fundamental changes to the way leaves and tnodes are
constructed. The big differences are:
1. Leaves now populate pos and bits indicating their full key size.
2. Trie nodes now mask out their lower bits to be consistent with the leaf
3. Both structures have been reordered so that rt_trie_node now consisists
of a much larger region including the pos, bits, and rcu portions of
the tnode structure.
On 32b systems this will result in the leaf being 4B larger as the pos and
bits values were added to a hole created by the key as it was only 4B in
length.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions