net: sched: lock action when translating it to flow_action infra
[linux-2.6-microblaze.git] / include / net / tc_act / tc_tunnel_key.h
index 0689d9b..2b3df07 100644 (file)
@@ -69,7 +69,7 @@ tcf_tunnel_info_copy(const struct tc_action *a)
        if (tun) {
                size_t tun_size = sizeof(*tun) + tun->options_len;
                struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size,
-                                                         GFP_KERNEL);
+                                                         GFP_ATOMIC);
 
                return tun_copy;
        }