lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net-sysfs: add check for netdevice being present to speed_show
From
Date
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.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2022-02-18 12:11    [W:0.043 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site