[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161645940958.31154.2773844035842131201.git-patchwork-notify@kernel.org>
Date: Tue, 23 Mar 2021 00:30:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: George McCollister <george.mccollister@...il.com>
Cc: andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
olteanv@...il.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: dsa: don't assign an error value to tag_ops
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 22 Mar 2021 15:26:50 -0500 you wrote:
> Use a temporary variable to hold the return value from
> dsa_tag_driver_get() instead of assigning it to dst->tag_ops. Leaving
> an error value in dst->tag_ops can result in deferencing an invalid
> pointer when a deferred switch configuration happens later.
>
> Fixes: 357f203bb3b5 ("net: dsa: keep a copy of the tagging protocol in the DSA switch tree")
>
> [...]
Here is the summary with links:
- [net] net: dsa: don't assign an error value to tag_ops
https://git.kernel.org/netdev/net/c/e0c755a45f6f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists