]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netfilter/nfnetlink.c
[PATCH] gfp flags annotations - part 1
[mirror_ubuntu-bionic-kernel.git] / net / netfilter / nfnetlink.c
index 49a3900e3d32b24d9ad91dc03340d62364d0ff25..1caaca06f698bb3a1ae48377ea2e1dbcfc131dfe 100644 (file)
@@ -195,7 +195,7 @@ nfnetlink_check_attributes(struct nfnetlink_subsystem *subsys,
 
 int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, int echo)
 {
-       int allocation = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
+       gfp_t allocation = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
        int err = 0;
 
        NETLINK_CB(skb).dst_group = group;