]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6 sit: RCU conversion phase II
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 23 Oct 2009 17:52:14 +0000 (17:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Oct 2009 13:07:56 +0000 (06:07 -0700)
commit9a0140eac31c8972986500885a4cf5f95299bc30
tree89d689443534465c15c75339d5827b79c1959c1f
parentd6bfc962982b9b79897da986d8447845e075e24b
ipv6 sit: RCU conversion phase II

SIT tunnels use one rwlock to protect their hash tables.

This locking scheme can be converted to RCU for free, since netdevice
already must wait for a RCU grace period at dismantle time.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c