git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55747a0
)
ipmr: RCU conversion of mroute_sk
author
Eric Dumazet
<eric.dumazet@gmail.com>
Fri, 1 Oct 2010 16:15:01 +0000
(16:15 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 Oct 2010 04:50:52 +0000
(21:50 -0700)
Use RCU and RTNL to protect (struct mr_table)->mroute_sk
Readers use RCU, writers use RTNL.
ip_ra_control() already use an RCU grace period before
ip_ra_destroy_rcu(), so we dont need synchronize_rcu() in
mrtsock_destruct()
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found