ipv6: remove a rcu_read_lock in ndisc_constructor
authorRoy.Li <rongqing.li@windriver.com>
Mon, 3 Oct 2011 19:43:35 +0000 (19:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2011 23:27:56 +0000 (19:27 -0400)
commit01b7806cdce3d3cf1626a1e79389f30512703069
treef4f20f62018d494e63c58f4b7906badbbf25435c
parentf861c2b80c45954e1ea04ead24cafcb1806dd536
ipv6: remove a rcu_read_lock in ndisc_constructor

in6_dev_get(dev) takes a reference on struct inet6_dev, we dont need
rcu locking in ndisc_constructor()

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c