🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by patchwork-bot+netdevbpf Wed, 02 Dec 2026 03:10
Re: [PATCH net v2] octeontx2-af: Fix uninitialized variables in MCS alloc handlers
#25587
Author: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 03:10
28 lines
8885 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Tue, 24 Nov 2026 16:42:27 -0800 you wrote:
> In rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule(), switch (req->rule_type)
> has no default case; an unrecognized rule_type in a PF/VF mailbox
> request leaves 'offset' uninitialized when passed to
> mcs_alloc_ctrlpktrule(), allocating rules from the wrong hardware
> partition or failing spuriously.
> 
> In rvu_mbox_handler_mcs_alloc_resources(), 'rsrc_id' is left
> uninitialized when !req->all and either req->rsrc_cnt == 0 or
> req->rsrc_type is not one of the four handled types, evaluating
> uninitialized stack memory at 'exit:'.
> 
> [...]

Here is the summary with links:
  - [net,v2] octeontx2-af: Fix uninitialized variables in MCS alloc handlers
    https://git.kernel.org/netdev/net-next/c/5bf78f7ba087

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

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads