ipv6: avoid two atomics in ipv6_rthdr_rcv()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 14 Jun 2010 04:39:27 +0000 (04:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 06:13:06 +0000 (23:13 -0700)
commitf6bc7d9e4760324258ad5f5d147e79db8442842e
treea1f9cd28b1bf3df58b1eb30df58854fa623edc64
parent1be3b5fe9dffe3300f995584d8f996dd20e29412
ipv6: avoid two atomics in ipv6_rthdr_rcv()

Use __in6_dev_get() instead of in6_dev_get()/in6_dev_put()

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