diff options
author | 2017-08-16 09:33:48 -0700 | |
---|---|---|
committer | 2017-09-22 13:00:58 -0700 | |
commit | bc4d82fb946e7b471eab2a80e384227c4eb15652 (patch) | |
tree | 6a22655d27fa6875d3146b4be3b08b737b6fa5c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | apparmor: ensure unconfined profiles have dfas initialized (diff) | |
download | wireguard-linux-bc4d82fb946e7b471eab2a80e384227c4eb15652.tar.xz wireguard-linux-bc4d82fb946e7b471eab2a80e384227c4eb15652.zip |
apparmor: fix incorrect type assignment when freeing proxies
sparse reports
poisoning the proxy->label before freeing the struct is resulting in
a sparse build warning.
../security/apparmor/label.c:52:30: warning: incorrect type in assignment (different address spaces)
../security/apparmor/label.c:52:30: expected struct aa_label [noderef] <asn:4>*label
../security/apparmor/label.c:52:30: got struct aa_label *<noident>
fix with RCU_INIT_POINTER as this is one of those cases where
rcu_assign_pointer() is not needed.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions