diff options
author | Talat Batheesh <talatb@mellanox.com> | 2017-03-28 16:13:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-28 18:07:15 -0700 |
commit | e497ec680c4cd51e76bfcdd49363d9ab8d32a757 (patch) | |
tree | a640dc269b2ded61147fd5fb391d5bfafb30c68b /net | |
parent | c2b341a620018d4eaeb0e85c16274ac4e5f153d4 (diff) |
net/mlx5: Avoid dereferencing uninitialized pointer
In NETDEV_CHANGEUPPER event the upper_info field is valid
only when linking is true. Otherwise it should be ignored.
Fixes: 7907f23adc18 (net/mlx5: Implement RoCE LAG feature)
Signed-off-by: Talat Batheesh <talatb@mellanox.com>
Reviewed-by: Aviv Heller <avivh@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions