Re: [PATCH] net-sysfs: add check for netdevice being present to speed_show

patchwork-bot+netdevbpf
2022-02-18T11:10:19Z

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Thu, 17 Feb 2022 07:25:18 +0530 you wrote:
> From: suresh kumar <suresh2514@gmail.com>
>
> When bringing down the netdevice or system shutdown, a panic can be
> triggered while accessing the sysfs path because the device is already
> removed.
>
> [ 755.549084] mlx5_core 0000:12:00.1: Shutdown was called
> [ 756.404455] mlx5_core 0000:12:00.0: Shutdown was called
> ...
> [ 757.937260] BUG: unable to handle kernel NULL pointer dereference at (null)
> [ 758.031397] IP: [<ffffffff8ee11acb>] dma_pool_alloc+0x1ab/0x280
>
> [...]

Here is the summary with links:
- net-sysfs: add check for netdevice being present to speed_show
https://git.kernel.org/netdev/net/c/4224cfd7fb65

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.