commit | e497ec680c4cd51e76bfcdd49363d9ab8d32a757 | [log] [tgz] |
---|---|---|
author | Talat Batheesh <talatb@mellanox.com> | Tue Mar 28 16:13:41 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 28 18:07:15 2017 -0700 |
tree | a640dc269b2ded61147fd5fb391d5bfafb30c68b | |
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>