Re: [PATCH 5.15.y] selftests: mptcp: join: only check for ip6tables if needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 01, 2023 at 11:07:16AM +0200, Matthieu Baerts wrote:
> commit 016e7ba47f33064fbef8c4307a2485d2669dfd03 upstream.
> 
> If 'iptables-legacy' is available, 'ip6tables-legacy' command will be
> used instead of 'ip6tables'. So no need to look if 'ip6tables' is
> available in this case.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 0c4cd3f86a40 ("selftests: mptcp: join: use 'iptables-legacy' if available")
> Acked-by: Paolo Abeni <pabeni@xxxxxxxxxx>
> Signed-off-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>
> Signed-off-by: Mat Martineau <martineau@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20230725-send-net-20230725-v1-1-6f60fe7137a9@xxxxxxxxxx
> Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> Signed-off-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>
> ---
> Backport Notes:
>   - It was conflicting with 87154755d90e ("selftests: mptcp: join: check
>     for tools only if needed") moving the code to modify in a dedicated
>     function + checking the output directly.
>   - I then adapted the code where it was before, taking the same style
>     as what was done in the commit mentioned just above.
> ---
>  tools/testing/selftests/net/mptcp/mptcp_join.sh | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux