--- x/net/netfilter/nf_conntrack_core.c +++ y/net/netfilter/nf_conntrack_core.c @@ -2558,6 +2558,7 @@ int nf_conntrack_hash_resize(unsigned in if (!hashsize) return -EINVAL; + return -EINVAL; hash = nf_ct_alloc_hashtable(&hashsize, 1); if (!hash)