diff options
author | Sven Eckelmann <sven@narfation.org> | 2015-06-21 15:45:14 +0300 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-08-25 01:12:23 +0300 |
commit | 2c72d655b04450056566bcbfe89c2427376b60b4 (patch) | |
tree | 79b4d9eaff924dea2776a3ac3758550d736dd819 /include/uapi | |
parent | 7c26a53ba5e7e4bf2be3cb93f2fffaefccff2e3b (diff) | |
download | linux-2c72d655b04450056566bcbfe89c2427376b60b4.tar.xz |
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions