projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'acpi-scan', 'acpi-processor' and 'acpi-assorted'
[cascardo/linux.git]
/
net
/
netfilter
/
nf_synproxy_core.c
diff --git
a/net/netfilter/nf_synproxy_core.c
b/net/netfilter/nf_synproxy_core.c
index
71f1e9f
..
d7f1685
100644
(file)
--- a/
net/netfilter/nf_synproxy_core.c
+++ b/
net/netfilter/nf_synproxy_core.c
@@
-353,10
+353,8
@@
static int __net_init synproxy_net_init(struct net *net)
int err = -ENOMEM;
ct = nf_ct_tmpl_alloc(net, 0, GFP_KERNEL);
- if (IS_ERR(ct)) {
- err = PTR_ERR(ct);
+ if (!ct)
goto err1;
- }
if (!nfct_seqadj_ext_add(ct))
goto err2;