diff options
author | Tobias Waldekranz <[email protected]> | 2021-04-21 14:04:53 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-21 10:25:09 -0700 |
commit | 281140a0a2ce4febf2c0ce5d29d0e7d961a826b1 (patch) | |
tree | 21dbc65e9a399202fca5ee77f4808924264f464e /scripts/gdb/vmlinux-gdb.py | |
parent | 78e70dbcfd0334c0eaf61c09e2083107f4762506 (diff) |
net: dsa: mv88e6xxx: Fix off-by-one in VTU devlink region size
In the unlikely event of the VTU being loaded to the brim with 4k
entries, the last one was placed in the buffer, but the size reported
to devlink was off-by-one. Make sure that the final entry is available
to the caller.
Fixes: ca4d632aef03 ("net: dsa: mv88e6xxx: Export VTU as devlink region")
Signed-off-by: Tobias Waldekranz <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions