commit | 4c9687098f245601e9d94178715ee03afbcc6f80 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Fri Oct 01 16:15:01 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 03 21:50:52 2010 -0700 |
tree | 00e08d50538ffbf8a85a481cef351034c5a2174a | |
parent | 55747a0a73ea74a25fcebb0731e8d3f13fe8c09d [diff] |
ipmr: RCU conversion of mroute_sk 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>