summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-06 17:49:21 -0700
committerDavid S. Miller <davem@davemloft.net>2010-10-06 18:01:33 -0700
commit767e97e1e0db0d0f3152cd2f3bd3403596aedbad (patch)
treecda6089e75f98fc3c9812993cf790fccac98b67a /security
parent546add79468183f266c75c632c96e4b0029e0d96 (diff)
downloadlinux-767e97e1e0db0d0f3152cd2f3bd3403596aedbad.tar.gz
linux-767e97e1e0db0d0f3152cd2f3bd3403596aedbad.tar.bz2
linux-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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions