diff options
author | Victor Nogueira <victor@mojatatu.com> | 2023-12-08 22:28:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-12 05:52:56 +0300 |
commit | 8439109b76a3c405808383bf9dd532fc4b9c2dbd (patch) | |
tree | aa386d0d776956bfbb5515c958b25980cb3544ec /include/linux/key-type.h | |
parent | c5e2a973448d958feb7881e4d875eac59fdeff3d (diff) | |
download | linux-8439109b76a3c405808383bf9dd532fc4b9c2dbd.tar.xz |
rtnl: add helper to check if a notification is needed
Building on the rtnl_has_listeners helper, add the rtnl_notify_needed
helper to check if we can bail out early in the notification routines.
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Link: https://lore.kernel.org/r/20231208192847.714940-3-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/key-type.h')
0 files changed, 0 insertions, 0 deletions