]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77c31894e83b377f8e3fbcac6a2ada7283a7478a
tree13921fd85a8d7f4fa38ddfafba3bf7a9592190b2
parent8584b3333f45f3b4f8d0e294de5137f9cd1c1012
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