[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13c54cd1-6fb7-b6b8-79a1-af0a95793700@blackwall.org>
Date: Thu, 27 Apr 2023 09:53:48 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Liang Li <liali@...hat.com>, netdev@...r.kernel.org
Cc: j.vosburgh@...il.com, Hangbin Liu <liuhangbin@...il.com>
Subject: Re: [PATCH net] selftests: bonding: delete unnecessary line.
On 27/04/2023 06:43, Liang Li wrote:
> "ip link set dev "$devbond1" nomaster"
> This line code in bond-eth-type-change.sh is unnecessary.
> Because $devbond1 was not added to any master device.
>
> Signed-off-by: Liang Li <liali@...hat.com>
> Acked-by: Hangbin Liu <liuhangbin@...il.com>
> ---
> .../selftests/drivers/net/bonding/bond-eth-type-change.sh | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh b/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh
> index 5cdd22048ba7..862e947e17c7 100755
> --- a/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh
> +++ b/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh
> @@ -53,7 +53,6 @@ bond_test_enslave_type_change()
> # restore ARPHRD_ETHER type by enslaving such device
> ip link set dev "$devbond2" master "$devbond0"
> check_err $? "could not enslave $devbond2 to $devbond0"
> - ip link set dev "$devbond1" nomaster
>
> bond_check_flags "$devbond0"
>
I don't think this is -net material. But either way the patch looks good.
Powered by blists - more mailing lists