diff options
| author | Eric Dumazet <[email protected]> | 2010-10-07 00:49:21 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-10-07 01:01:33 +0000 |
| commit | 767e97e1e0db0d0f3152cd2f3bd3403596aedbad (patch) | |
| tree | cda6089e75f98fc3c9812993cf790fccac98b67a /net/ipv4/tcp_input.c | |
| parent | bonding: reread information about speed and duplex when interface goes up (diff) | |
| download | kernel-767e97e1e0db0d0f3152cd2f3bd3403596aedbad.tar.gz kernel-767e97e1e0db0d0f3152cd2f3bd3403596aedbad.zip | |
neigh: RCU conversion of struct neighbour
This is the second step for neighbour RCU conversion.
(first was commit d6bf7817 : RCU conversion of neigh hash table)
neigh_lookup() becomes lockless, but still take a reference on found
neighbour. (no more read_lock()/read_unlock() on tbl->lock)
struct neighbour gets an additional rcu_head field and is freed after an
RCU grace period.
Future work would need to eventually not take a reference on neighbour
for temporary dst (DST_NOCACHE), but this would need dst->_neighbour to
use a noref bit like we did for skb->_dst.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
