diff options
author | RongQing.Li <[email protected]> | 2012-03-15 22:54:14 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-03-16 21:56:42 -0700 |
commit | c577923756b7fe9071f28a76b66b83b306d1d001 (patch) | |
tree | 3cdb24e829bf58f5a319c9e9dca491ce295276e1 /tools/perf/scripts/python | |
parent | b8fbaef586176f6abe0eb7887ddae66e99898b79 (diff) |
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 96b52e61be1 (ipv6: mcast: RCU conversions) ]
Signed-off-by: RongQing.Li <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions