Thread (3 messages) 3 messages, 2 authors, 2024-11-04

Re: netlink: Fix off-by-one error in netlink_proto_init()

From: Markus Elfring <hidden>
Date: 2024-11-04 07:39:07
Also in: kernel-janitors, lkml

quoted
Thus use the comparison operator “>=” instead for the affected while loop.
This patch is already applied to net-next.
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=bc74d329ceba
Thanks for your reminder on the commit bc74d329ceba23f998ead4f716266da5afe319f7
("netlink: Remove the dead code in netlink_proto_init()") from 2024-10-31
for another contribution by Jinjie Ruan (also according to your suggestion).

See also:
https://lore.kernel.org/linux-kernel/20241028182421.6692-1-kuniyu@amazon.com/ (local)
https://lore.kernel.org/linux-kernel/20241030012147.357400-1-ruanjinjie@huawei.com/ (local)

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help