Thread (26 messages) 26 messages, 3 authors, 2026-02-02

Re: [PATCH net v3 1/7] net/sched: act_gate: zero-initialize netlink dump struct

From: Eric Dumazet <edumazet@google.com>
Date: 2026-01-21 13:25:33
Also in: lkml, stable

On Wed, Jan 21, 2026 at 2:20 PM Paul Moses [off-list ref] wrote:
Zero-initialize the dump struct before selective assignment to avoid
leaking stack padding in netlink replies. This matches other actions
(e.g. act_connmark) that zero-init their dump structs.

Fixes: a51c328df310 ("net: qos: introduce a gate control flow action")
Cc: stable@vger.kernel.org
Signed-off-by: Paul Moses <redacted>
---
I do not see a bug to fix, current code is fine.

act_connmark problem was that "struct tc_connmark" had a 16bit hole.

No such issue for struct tc_gate.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help