diff options
author | 2023-11-15 13:17:12 +0100 | |
---|---|---|
committer | 2023-11-18 17:38:50 +0000 | |
commit | c8d0a7d6152bec970552786b77626f4b4c562f4d (patch) | |
tree | 74b35b0c9715a7c5a56740b683e2f09f7a27ec66 /samples/bpf/spintest.bpf.c | |
parent | devlink: Acquire device lock during netns dismantle (diff) | |
download | linux-c8d0a7d6152bec970552786b77626f4b4c562f4d.tar.gz linux-c8d0a7d6152bec970552786b77626f4b4c562f4d.tar.bz2 linux-c8d0a7d6152bec970552786b77626f4b4c562f4d.zip |
devlink: Enable the use of private flags in post_doit operations
Currently, private flags (e.g., 'DEVLINK_NL_FLAG_NEED_PORT') are only
used in pre_doit operations, but a subsequent patch will need to
conditionally lock and unlock the device lock in pre and post doit
operations, respectively.
As a preparation, enable the use of private flags in post_doit
operations in a similar fashion to how it is done for pre_doit
operations.
No functional changes intended.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/spintest.bpf.c')
0 files changed, 0 insertions, 0 deletions