diff options
author | Cong Wang <[email protected]> | 2017-12-06 15:03:20 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-11 10:56:55 -0500 |
commit | b1042d356305cd183459dea145fd59c0f7491e00 (patch) | |
tree | 63526e2298526f0d7de20b826de772385b1fd3aa /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 25e3f70fcbc2e40cfe4bc0d3f3a4e1f6d4835d49 (diff) |
netlink: convert netlink tap spinlock to mutex
Both netlink_add_tap() and netlink_remove_tap() are
called in process context, no need to bother spinlock.
Note, in fact, currently we always hold RTNL when calling
these two functions, so we don't need any other lock at
all, but keeping this lock doesn't harm anything.
Cc: Daniel Borkmann <[email protected]>
Signed-off-by: Cong Wang <[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