]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/netfilter/nfnetlink.c
[PATCH] gfp flags annotations - part 1
[net-next-2.6.git] / net / netfilter / nfnetlink.c
index 34d671974a4d9522f7e6f393a2d5fa4b154b0df5..1caaca06f698bb3a1ae48377ea2e1dbcfc131dfe 100644 (file)
@@ -195,8 +195,7 @@ nfnetlink_check_attributes(struct nfnetlink_subsystem *subsys,
 
 int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, int echo)
 {
-       unsigned int __nocast 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;