diff options
author | Sven Eckelmann <sven@narfation.org> | 2015-06-21 14:45:14 +0200 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-08-25 00:12:23 +0200 |
commit | 2c72d655b04450056566bcbfe89c2427376b60b4 (patch) | |
tree | 79b4d9eaff924dea2776a3ac3758550d736dd819 /crypto/ecb.c | |
parent | 7c26a53ba5e7e4bf2be3cb93f2fffaefccff2e3b (diff) |
batman-adv: Annotate deleting functions with external lock via lockdep
Functions which use (h)list_del* are requiring correct locking when they
operate on global lists. Most of the time the search in the list and the
delete are done in the same function. All other cases should have it
visible that they require a special lock to avoid race conditions.
Lockdep asserts can be used to check these problem during runtime when the
lockdep functionality is enabled.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions