diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-08-06 16:19:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-06 12:37:56 -0700 |
commit | b19d955055480ac4e03f5afec0ca80f0de7b7013 (patch) | |
tree | c1b6e0cc939800a2a5a317274d1dfb8097e82010 /net/dsa/master.c | |
parent | 965100966efe85e636178166fbf006e9b74f78d4 (diff) |
drop_monitor: Use pre_doit / post_doit hooks
Each operation from user space should be protected by the global drop
monitor mutex. Use the pre_doit / post_doit hooks to take / release the
lock instead of doing it explicitly in each function.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/master.c')
0 files changed, 0 insertions, 0 deletions