]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/netfilter/iptable_raw.c
Merge tag 'iommu-updates-v3.12' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / net / ipv4 / netfilter / iptable_raw.c
index 03d9696d3c6eb27b24eed32ad3fb0c4e069d9bf3..1f82aea11df63e0683ba6e2c0e85d270534a6d74 100644 (file)
@@ -48,7 +48,7 @@ static int __net_init iptable_raw_net_init(struct net *net)
        net->ipv4.iptable_raw =
                ipt_register_table(net, &packet_raw, repl);
        kfree(repl);
-       return PTR_RET(net->ipv4.iptable_raw);
+       return PTR_ERR_OR_ZERO(net->ipv4.iptable_raw);
 }
 
 static void __net_exit iptable_raw_net_exit(struct net *net)