diff options
| author | Sun Jian <sun.jian.kdev@gmail.com> | 2026-02-05 15:30:17 +0300 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-02-17 17:04:20 +0300 |
| commit | 07919126ecfc392102555a70016db3e591abcb3d (patch) | |
| tree | 6ad2cf63a58480363d971bf3ca28c49bffb4a54d /include/uapi/linux | |
| parent | 77c5e3fdd2793f478e6fdae55c9ea85b21d06f8f (diff) | |
| download | linux-07919126ecfc392102555a70016db3e591abcb3d.tar.xz | |
netfilter: annotate NAT helper hook pointers with __rcu
The NAT helper hook pointers are updated and dereferenced under RCU rules,
but lack the proper __rcu annotation.
This makes sparse report address space mismatches when the hooks are used
with rcu_dereference().
Add the missing __rcu annotations to the global hook pointer declarations
and definitions in Amanda, FTP, IRC, SNMP and TFTP.
No functional change intended.
Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
