commit | b19d955055480ac4e03f5afec0ca80f0de7b7013 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Tue Aug 06 16:19:56 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 06 12:37:56 2019 -0700 |
tree | c1b6e0cc939800a2a5a317274d1dfb8097e82010 | |
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>