diff options
| author | Taehee Yoo <[email protected]> | 2021-03-25 16:16:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-26 15:14:55 -0700 |
| commit | cf2ce339b401bc53ee131f0ce38bae32a949925e (patch) | |
| tree | 7f7528820bbb5ce295f1d085d8cc327afe669eb0 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 2d9a93b4902be6a5504b5941dd15e9cd776aadca (diff) | |
mld: get rid of inet6_dev->mc_lock
The purpose of mc_lock is to protect inet6_dev->mc_tomb.
But mc_tomb is already protected by RTNL and all functions,
which manipulate mc_tomb are called under RTNL.
So, mc_lock is not needed.
Furthermore, it is spinlock so the critical section is atomic.
In order to reduce atomic context, it should be removed.
Suggested-by: Cong Wang <[email protected]>
Signed-off-by: Taehee Yoo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions