Commit afad5357 authored by Dan Carpenter's avatar Dan Carpenter Committed by John Johansen
Browse files

apparmor: use passed in gfp flags in aa_alloc_null()



These allocations should use the gfp flags from the caller instead of
GFP_KERNEL.  But from what I can see, all the callers pass in GFP_KERNEL
so this does not affect runtime.

Fixes: e31dd6e412f7 ("apparmor: fix: kzalloc perms tables for shared dfas")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 180cf257
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment