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] [day] [month] [year] [list]
Message-ID: <dd9b9ef2-ee8f-ad81-61dc-ce57117f803f@iogearbox.net>
Date:   Thu, 22 Feb 2018 15:25:04 +0100
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Li Zhijian <lizhijian@...fujitsu.com>, shuah@...nel.org,
        ast@...nel.org, netdev@...r.kernel.org
Cc:     linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
        Li Zhijian <zhijianx.li@...el.com>,
        Alexei Starovoitov <alexei.starovoitov@...il.com>,
        Philip Li <philip.li@...el.com>
Subject: Re: [PATCH v2] selftests/bpf/test_maps: exit child process without
 error in ENOMEM case

On 02/22/2018 03:34 AM, Li Zhijian wrote:
> From: Li Zhijian <zhijianx.li@...el.com>
> 
> test_maps contains a series of stress tests, and previously it will break the
> rest tests when it failed to alloc memory.
> -----------------------
> Failed to create hashmap key=8 value=262144 'Cannot allocate memory'
> Failed to create hashmap key=16 value=262144 'Cannot allocate memory'
> Failed to create hashmap key=8 value=262144 'Cannot allocate memory'
> Failed to create hashmap key=8 value=262144 'Cannot allocate memory'
> test_maps: test_maps.c:955: run_parallel: Assertion `status == 0' failed.
> Aborted
> not ok 1..3 selftests:  test_maps [FAIL]
> -----------------------
> after this patch, the rest tests will be continue when it occurs an ENOMEM failure
> 
> CC: Alexei Starovoitov <alexei.starovoitov@...il.com>
> CC: Philip Li <philip.li@...el.com>
> Suggested-by: Daniel Borkmann <daniel@...earbox.net>
> Signed-off-by: Li Zhijian <zhijianx.li@...el.com>

Applied to bpf tree, thanks Li!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ