Messages in this thread | | | Subject | Re: [PATCH net v2] net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 29 Oct 2021 12:50:08 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Thu, 28 Oct 2021 17:58:35 +0200 you wrote: > Function br_get_link_af_size_filtered() calls br_cfm_{,peer}_mep_count() > that return a count. When BRIDGE_CFM is not enabled these functions > simply return -EOPNOTSUPP but do not modify count parameter and > calling function then works with uninitialized variables. > Modify these inline functions to return zero in count parameter. > > Fixes: b6d0425b816e ("bridge: cfm: Netlink Notifications.") > Cc: Henrik Bjoernlund <henrik.bjoernlund@microchip.com> > Signed-off-by: Ivan Vecera <ivecera@redhat.com> > > [...]
Here is the summary with links: - [net,v2] net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled https://git.kernel.org/netdev/net/c/829e050eea69
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |