Re: [PATCH net-next 2/6] selftests: net: lib: remove ns from list after clean-up

2024-06-15 Thread Simon Horman
Hi Matthieu, Likewise, thanks for your response. On Fri, Jun 14, 2024 at 04:42:38PM +0200, Matthieu Baerts wrote: > Hi Simon, > > Thank you for your reply! > > On 14/06/2024 12:40, Simon Horman wrote: > > On Fri, Jun 07, 2024 at 06:31:03PM +0200, Matthieu Baerts (NGI0) wrote: > >> Instead of on

Re: [PATCH net-next 2/6] selftests: net: lib: remove ns from list after clean-up

2024-06-14 Thread Matthieu Baerts
Hi Simon, Thank you for your reply! On 14/06/2024 12:40, Simon Horman wrote: > On Fri, Jun 07, 2024 at 06:31:03PM +0200, Matthieu Baerts (NGI0) wrote: >> Instead of only appending items to the list, removing them when the >> netns has been deleted. >> >> By doing that, we can make sure 'cleanup_a

Re: [PATCH net-next 2/6] selftests: net: lib: remove ns from list after clean-up

2024-06-14 Thread Simon Horman
On Fri, Jun 07, 2024 at 06:31:03PM +0200, Matthieu Baerts (NGI0) wrote: > Instead of only appending items to the list, removing them when the > netns has been deleted. > > By doing that, we can make sure 'cleanup_all_ns()' is not trying to > remove already deleted netns. > > Reviewed-by: Geliang

[PATCH net-next 2/6] selftests: net: lib: remove ns from list after clean-up

2024-06-07 Thread Matthieu Baerts (NGI0)
Instead of only appending items to the list, removing them when the netns has been deleted. By doing that, we can make sure 'cleanup_all_ns()' is not trying to remove already deleted netns. Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) --- tools/testing/selftests/net/lib.sh |