OSDN Git Service

wireguard: allowedips: add missing __rcu annotation to satisfy sparse
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 29 Nov 2021 15:39:20 +0000 (10:39 -0500)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Nov 2021 03:50:29 +0000 (19:50 -0800)
commitae9287811ba75571cd69505d50ab0e612ace8572
tree807e73e4e676de7a29bda6d7e0637d175e0a4eed
parentcdef485217d30382f3bf6448c54b4401648fe3f1
wireguard: allowedips: add missing __rcu annotation to satisfy sparse

A __rcu annotation got lost during refactoring, which caused sparse to
become enraged.

Fixes: bf7b042dc62a ("wireguard: allowedips: free empty intermediate nodes when removing single node")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wireguard/allowedips.c