|
@@ -68,7 +68,7 @@ register_ip_vs_proto_netns(struct net *net, struct ip_vs_protocol *pp)
|
|
struct netns_ipvs *ipvs = net_ipvs(net);
|
|
struct netns_ipvs *ipvs = net_ipvs(net);
|
|
unsigned int hash = IP_VS_PROTO_HASH(pp->protocol);
|
|
unsigned int hash = IP_VS_PROTO_HASH(pp->protocol);
|
|
struct ip_vs_proto_data *pd =
|
|
struct ip_vs_proto_data *pd =
|
|
- kzalloc(sizeof(struct ip_vs_proto_data), GFP_ATOMIC);
|
|
|
|
|
|
+ kzalloc(sizeof(struct ip_vs_proto_data), GFP_KERNEL);
|
|
|
|
|
|
if (!pd)
|
|
if (!pd)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|