]> Git Repo - linux.git/blobdiff - net/unix/sysctl_net_unix.c
regmap: mmio: Allow passing an empty config->reg_stride
[linux.git] / net / unix / sysctl_net_unix.c
index 3f1fdffd6092c6d06d4f530d813ffcc1b02f3ee4..500129aa710c73537cde5208a48e75842259ee04 100644 (file)
@@ -43,7 +43,7 @@ int __net_init unix_sysctl_register(struct net *net)
        return 0;
 
 err_reg:
-       if (net_eq(net, &init_net))
+       if (!net_eq(net, &init_net))
                kfree(table);
 err_alloc:
        return -ENOMEM;
This page took 0.035174 seconds and 4 git commands to generate.