diff options
| author | Ido Schimmel <[email protected]> | 2017-07-18 10:10:30 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-18 11:57:34 -0700 |
| commit | 7dcc18adad31d15d528414bdff12bf98d33d9a20 (patch) | |
| tree | 1d30c7e8600f58acd6ec97bdeadb1c685930bb84 /tools/perf/scripts/python | |
| parent | 80c238f91b1f607b32fae54f0462a073c3674140 (diff) | |
mlxsw: spectrum_router: Update prefix count for IPv6
The number of possible prefix lengths for IPv6 is 129 and not 128.
Fixes following warning from UBSAN when /128 routes are offloaded:
UBSAN: Undefined behaviour in
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:2510:27 index 128 is out
of range for type 'long unsigned int [128]'
Fixes: 5e9c16cc83a7 ("mlxsw: spectrum_router: Implement private fib")
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions