ipv6: avoid dev_hold()/dev_put() in rawv6_bind()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 6 Nov 2009 07:01:17 +0000 (07:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Nov 2009 08:43:18 +0000 (00:43 -0800)
commitfd5c00276127661f12e0315e3bbec41a1c0be376
treec144a45e26dadf3654336604a131c2c53e5235c4
parent18294ad1ecccffe6a91f6914dc1f4acd8995736a
ipv6: avoid dev_hold()/dev_put() in rawv6_bind()

Using RCU helps not touching device refcount in rawv6_bind()

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