diff options
| author | Vlad Yasevich <[email protected]> | 2013-06-25 16:04:19 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-06-25 16:44:56 -0700 |
| commit | 441ac0fcaadc76ad09771812382345001dd2b813 (patch) | |
| tree | 7ec1df8d9dfabfab411693461b65a3841a3ec276 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 2d48d67fa8cd129ea85ea02d91b4a793286866f8 (diff) | |
macvtap: Convert to using rtnl lock
Macvtap uses a private lock to protect the relationship between
macvtap_queue and macvlan_dev. The private lock is not needed
since the relationship is managed by user via open(), release(),
and dellink() calls. dellink() already happens under rtnl, so
we can safely convert open() and release(), and use it in ioctl()
as well.
Suggested by Eric Dumazet.
Signed-off-by: Vlad Yasevich <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions