]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/route.c
ipv6: RCU changes in ipv6_get_mtu() and ip6_dst_hoplimit()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 14 Jun 2010 04:46:20 +0000 (04:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 06:13:07 +0000 (23:13 -0700)
commitc68f24cc354050415c5ea543cd19ea5424463a2f
tree13921fd85a8d7f4fa38ddfafba3bf7a9592190b2
parentf6bc7d9e4760324258ad5f5d147e79db8442842e
ipv6: RCU changes in ipv6_get_mtu() and ip6_dst_hoplimit()

Use RCU to avoid atomic ops on idev refcnt in ipv6_get_mtu()
and ip6_dst_hoplimit()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c