struct sk_buff *ans_skb;
void *data;
- ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_ATOMIC);
+ ans_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL);
if (!ans_skb)
return -ENOMEM;
init_completion(&dp_act_done);
genlmsg_end(skb, data);
- retval = genlmsg_multicast(skb, 0, brc_mc_group.id, GFP_ATOMIC);
+ retval = genlmsg_multicast(skb, 0, brc_mc_group.id, GFP_KERNEL);
if (retval < 0)
return retval;
NLA_PUT_STRING(skb, BRC_GENL_A_PORT_NAME, port->name);
genlmsg_end(skb, data);
- return genlmsg_multicast(skb, 0, brc_mc_group.id, GFP_ATOMIC);
+ return genlmsg_multicast(skb, 0, brc_mc_group.id, GFP_KERNEL);
nla_put_failure:
err: