Please sign in to comment.
ipv6: Don't dev_hold(dev) in ip6_mc_find_dev_rcu.
ip6_mc_find_dev_rcu() is called with rcu_read_lock(), so don't need to dev_hold(). With dev_hold(), not corresponding dev_put(), will lead to leak. [ bug introduced in 96b52e6 (ipv6: mcast: RCU conversions) ] Signed-off-by: RongQing.Li <firstname.lastname@example.org> Acked-by: Eric Dumazet <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
- Loading branch information...