[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<172183083185.11114.3597522848172663609.git-patchwork-notify@kernel.org>
Date: Wed, 24 Jul 2024 14:20:31 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Petr Machata <petrm@...dia.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, dsahern@...nel.org,
mlxsw@...dia.com, idosch@...dia.com
Subject: Re: [PATCH net] net: nexthop: Initialize all fields in dumped nexthops
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Tue, 23 Jul 2024 18:04:16 +0200 you wrote:
> struct nexthop_grp contains two reserved fields that are not initialized by
> nla_put_nh_group(), and carry garbage. This can be observed e.g. with
> strace (edited for clarity):
>
> # ip nexthop add id 1 dev lo
> # ip nexthop add id 101 group 1
> # strace -e recvmsg ip nexthop get id 101
> ...
> recvmsg(... [{nla_len=12, nla_type=NHA_GROUP},
> [{id=1, weight=0, resvd1=0x69, resvd2=0x67}]] ...) = 52
>
> [...]
Here is the summary with links:
- [net] net: nexthop: Initialize all fields in dumped nexthops
https://git.kernel.org/netdev/net/c/6d745cd0e972
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