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: <20250512160458.GQ3339421@horms.kernel.org>
Date: Mon, 12 May 2025 17:04:58 +0100
From: Simon Horman <horms@...nel.org>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
	Shuah Khan <shuah@...nel.org>, Matthieu Baerts <matttbe@...nel.org>,
	Mat Martineau <martineau@...nel.org>,
	Geliang Tang <geliang@...nel.org>,
	Pablo Neira Ayuso <pablo@...filter.org>,
	Jozsef Kadlecsik <kadlec@...filter.org>,
	Andrea Mayer <andrea.mayer@...roma2.it>,
	Paolo Lungaroni <paolo.lungaroni@...roma2.it>,
	linux-kselftest@...r.kernel.org, mptcp@...ts.linux.dev,
	netfilter-devel@...r.kernel.org, coreteam@...filter.org
Subject: Re: [PATCHv2 net-next 3/6] selftests: net: use setup_ns for bareudp
 testing

On Thu, May 08, 2025 at 08:19:07AM +0000, Hangbin Liu wrote:
> Switch bareudp testing to use setup_ns, which sets up rp_filter by default.
> This allows us to remove the manual rp_filter configuration from the script.
> 
> Additionally, since setup_ns handles namespace naming and cleanup, we no
> longer need a separate cleanup function. We also move the trap setup earlier
> in the script, before the test setup begins.
> 
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>

Reviewed-by: Simon Horman <horms@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ