summary refs log tree commit diff
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2018-11-23 12:00:28 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2019-02-09 14:28:13 +0100
commitc4a7a8d9bb8f9e712d0e4c90c3d11b4388b621ba (patch)
tree6e5dd2f692ca71ad7244294512f833eb7b852237 /net/batman-adv/main.h
parent180cf62cec0418a64dade18b3575047af46c6335 (diff)
downloadlinux-c4a7a8d9bb8f9e712d0e4c90c3d11b4388b621ba.tar.gz
batman-adv: Move common genl doit code pre/post hooks
The commit ff4c92d85c6f ("genetlink: introduce pre_doit/post_doit hooks")
intoduced a mechanism to run specific code for doit hooks before/after the
hooks are run. Since all doit hooks are requiring the batadv softif, it
should be retrieved/freed in these helpers to simplify the code.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions