diff options
author | 2024-03-06 23:10:41 +0000 | |
---|---|---|
committer | 2024-03-07 20:28:22 -0800 | |
commit | cecbc52c46e235bd651f7b3ebbf481764846a2d9 (patch) | |
tree | d528ac8a9a2c7162c2b597b6a8ec54c637a927c7 /tools/net/ynl/cli.py | |
parent | Merge branch 'isdn-constify-struct-class-usage' (diff) | |
download | wireguard-linux-cecbc52c46e235bd651f7b3ebbf481764846a2d9.tar.xz wireguard-linux-cecbc52c46e235bd651f7b3ebbf481764846a2d9.zip |
tools/net/ynl: Fix extack decoding for netlink-raw
Extack decoding was using a hard-coded msg header size of 20 but
netlink-raw has a header size of 16.
Use a protocol specific msghdr_size() when decoding the attr offssets.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240306231046.97158-2-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions