diff options
| author | David Yang <mmyangfl@gmail.com> | 2025-11-26 16:40:19 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-27 17:55:53 -0800 |
| commit | 510026a39849ae7066dce17343caba4550e2a977 (patch) | |
| tree | 850804fb33e25aa0526b116fb074814d92487d10 /net/unix/sysctl_net_unix.c | |
| parent | 17e9f841dd227a4dc976b22d000d5f669bc14493 (diff) | |
net: dsa: yt921x: Fix parsing MIB attributes
There are hard-to-find unused fields in the MIB table I didn't notice in
the example driver code, causing wrong interpretation of the MIB data.
For some 64-bit attributes, the current (wrong) implementation took the
correct lower 32 bits, but messed up the upper 32 bits, so it would work
accidentally until 32-bit overflows happen. Fix that too.
Fixes: 186623f4aa72 ("net: dsa: yt921x: Add support for Motorcomm YT921x")
Signed-off-by: David Yang <mmyangfl@gmail.com>
Link: https://patch.msgid.link/20251126084024.2843851-2-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
