diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-07-18 10:10:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-18 11:57:34 -0700 |
commit | 7dcc18adad31d15d528414bdff12bf98d33d9a20 (patch) | |
tree | 1d30c7e8600f58acd6ec97bdeadb1c685930bb84 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
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 <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions