commit | 9fbf082f569980ddd7cab348e0a118678db0e47e | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Thu Jan 30 14:59:49 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 30 15:20:26 2020 +0100 |
tree | 5738e3b79c82042a6b812ace6eca12f6405c4c89 | |
parent | 31484d56ca9511e62c08626db338d2aaafb3aa3f [diff] |
net/core: Do not clear VF index for node/port GUIDs query VF numbers were assigned to node_guid and port_guid, but cleared right before such query calls were issued. It caused to return node/port GUIDs of VF index 0 for all VFs. Fixes: 30aad41721e0 ("net/core: Add support for getting VF GUIDs") Reported-by: Adrian Chiris <adrianc@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>