diff options
author | Moni Shoua <monis@mellanox.com> | 2014-08-21 14:28:38 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-09-22 09:46:52 -0700 |
commit | f5c4834d9328c4ed9fe5dcbec6128d6da16db69a (patch) | |
tree | 6d35247278b9a655e211d99032ce73f1b02bc654 /lib/string_helpers.c | |
parent | e381835cf1b8e3b2857277dbc3b77d8c5350f70a (diff) |
IB/mlx4: Don't duplicate the default RoCE GID
When reading the IPv6 addresses from the net-device, make sure to
avoid adding a duplicate entry to the GID table because of equality
between the default GID we generate and the default IPv6 link-local
address of the device.
Fixes: acc4fccf4eff ("IB/mlx4: Make sure GID index 0 is always occupied")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions