commit | 033354d501862ca1f58caa1e5c5775712e1bff17 | [log] [tgz] |
---|---|---|
author | Hadar Hen Zion <hadarh@mellanox.com> | Thu Feb 02 16:14:21 2017 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sun Apr 30 16:03:10 2017 +0300 |
tree | b66701bf6c4aea022d424c6a48c6bac9efc950f4 | |
parent | 0b67a38fe699ee60c56d193d33c9c7392cabaea7 [diff] |
net/mlx5e: Read neigh parameters with proper locking The nud_state and hardware address fields are protected by the neighbour lock, we should acquire it before accessing those parameters. Use this lock to avoid inconsistency between the neighbour validity state and it's hardware address. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>