From: patchwork-bot+netdevbpf@kernel.org
To: Karsten Graul <kgraul@linux.ibm.com>
Cc: davem@davemloft.net, kuba@kernel.org, hca@linux.ibm.com,
raspl@linux.ibm.com, netdev@vger.kernel.org,
linux-s390@vger.kernel.org
Subject: Re: [PATCH net] net/smc: remove device from smcd_dev_list after failed device_add()
Date: Mon, 17 May 2021 22:30:09 +0000 [thread overview]
Message-ID: <162129060962.6973.2951105480766864399.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210517084706.1620399-1-kgraul@linux.ibm.com>
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@linux.ibm.com>
>
> 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
prev parent reply other threads:[~2021-05-17 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 8:47 [PATCH net] net/smc: remove device from smcd_dev_list after failed device_add() Karsten Graul
2021-05-17 22:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162129060962.6973.2951105480766864399.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=hca@linux.ibm.com \
--cc=kgraul@linux.ibm.com \
--cc=kuba@kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=raspl@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.