diff options
| author | Ido Schimmel <[email protected]> | 2019-06-11 07:19:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-12 18:08:14 +0000 |
| commit | ee02c26993262c96cc39d0f831f7589b10a44fd7 (patch) | |
| tree | 9b44fd720cc7784141fbcd5564c52008e45f429e /net/lapb | |
| parent | net: tls, correctly account for copied bytes with multiple sk_msgs (diff) | |
| download | kernel-ee02c26993262c96cc39d0f831f7589b10a44fd7.tar.gz kernel-ee02c26993262c96cc39d0f831f7589b10a44fd7.zip | |
mlxsw: spectrum: Use different seeds for ECMP and LAG hash
The same hash function and seed are used for both ECMP and LAG hash.
Therefore, when a LAG device is used as a nexthop device as part of an
ECMP group, hash polarization can occur and all the traffic will be
hashed to a single LAG slave.
Fix this by using a different seed for the LAG hash.
Fixes: fa73989f2697 ("mlxsw: spectrum: Use a stable ECMP/LAG seed")
Signed-off-by: Ido Schimmel <[email protected]>
Reported-by: Alex Veber <[email protected]>
Tested-by: Alex Veber <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions
