Re: [PATCH net] net/smc: remove device from smcd_dev_list after failed device_add()

[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, 17 May 2021 10:47:06 +0200 you wrote:
> From: Julian Wiedmann <jwi@xxxxxxxxxxxxx>
> 
> If the device_add() for a smcd_dev fails, there's no cleanup step that
> rolls back the earlier list_add(). The device subsequently gets freed,
> and we end up with a corrupted list.
> 
> Add some error handling that removes the device from the list.
> 
> [...]

Here is the summary with links:
  - [net] net/smc: remove device from smcd_dev_list after failed device_add()
    https://git.kernel.org/netdev/net/c/444d7be9532d

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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux