Re: [PATCH] selftests: net: devlink_port_split: check devlink returned an element before dereferencing it

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

 



Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Mon, 28 Jun 2021 16:54:24 +0200 you wrote:
> And thus avoid a Python stacktrace:
> 
> ~/linux/tools/testing/selftests/net$ ./devlink_port_split.py
> Traceback (most recent call last):
>   File "/home/linux/tools/testing/selftests/net/./devlink_port_split.py",
> line 277, in <module> main()
>   File "/home/linux/tools/testing/selftests/net/./devlink_port_split.py",
> line 242, in main
>     dev = list(devs.keys())[0]
> IndexError: list index out of range
> 
> [...]

Here is the summary with links:
  - selftests: net: devlink_port_split: check devlink returned an element before dereferencing it
    https://git.kernel.org/netdev/net/c/a118ff661889

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux