diff options
author | Talat Batheesh <talatb@mellanox.com> | 2017-03-28 13:13:41 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-03 15:36:35 (GMT) |
commit | 501299e643814d2367aeeae8439129f0facc4183 (patch) | |
tree | 584269a26d8ccd95c735b069e15885d0a2d4315b /Documentation | |
parent | 0ea3c235779ac1eb132ba15e754995090e18a26b (diff) | |
download | linux-501299e643814d2367aeeae8439129f0facc4183.tar.xz |
net/mlx5: Avoid dereferencing uninitialized pointer
[ Upstream commit e497ec680c4cd51e76bfcdd49363d9ab8d32a757 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions