Also:

+       spin_lock(&metrics->lock);
+
+       list_for_each_entry(metric, &metrics->fuse_rpc_error_metric_list, list)
+               if (pcs_netaddr_cmp_ignore_port(&metric->m.addr, addr) == 0)
+                       goto out;
+
+       metric = kzalloc(sizeof(*metric), GFP_KERNEL);

You cannot do GFP_KERNEL under spinlock.

Replace it with GFP_ATOMIC or replace spinlock with mutex.

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to