diff options
| author | Herbert Xu <[email protected]> | 2025-03-02 07:18:24 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-03-02 11:57:37 +0000 |
| commit | e04918dc594669068f5d59d567d08db531167188 (patch) | |
| tree | f71fc94943b4ac3ca2e0e4b3e23d7be4114f5846 /net/switchdev/switchdev.c | |
| parent | Linux 6.14-rc4 (diff) | |
| download | kernel-e04918dc594669068f5d59d567d08db531167188.tar.gz kernel-e04918dc594669068f5d59d567d08db531167188.zip | |
cred: Fix RCU warnings in override/revert_creds
Fix RCU warnings in override_creds and revert_creds by turning
the RCU pointer into a normal pointer using rcu_replace_pointer.
These warnings were previously private to the cred code, but due
to the move into the header file they are now polluting unrelated
subsystems.
Fixes: 49dffdfde462 ("cred: Add a light version of override/revert_creds()")
Signed-off-by: Herbert Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
