lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180724091946.d3b764rlsuid4jai@breakpoint.cc>
Date:   Tue, 24 Jul 2018 11:19:46 +0200
From:   Florian Westphal <fw@...len.de>
To:     Li RongQing <lirongqing@...du.com>
Cc:     netdev@...r.kernel.org, pablo@...filter.org,
        kadlec@...ckhole.kfki.hu, fw@...len.de
Subject: Re: [PATCH] netfilter: avoid stalls in nf_ct_alloc_hashtable

Li RongQing <lirongqing@...du.com> wrote:
> when system forks a process with CLONE_NEWNET flag under the
> high memory pressure, it will trigger memory reclaim and stall
> for a long time because nf_ct_alloc_hashtable need to allocate
> high-order memory at that time. The calltrace as below:

> 	nf_ct_alloc_hashtable
> 	nf_conntrack_init_net

This call trace is from a kernel < 4.7.

commit 56d52d4892d0e478a005b99ed10d0a7f488ea8c1
netfilter: conntrack: use a single hashtable for all namespaces

removed per-netns hash table.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ