mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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 <[email protected]> Signed-off-by: Sun Jian <[email protected]> Signed-off-by: Florian Westphal <[email protected]>