mlx5: fix possible crash during initialization
authorOr Ami <ora@mellanox.com>
Thu, 3 Mar 2016 14:27:34 +0000 (15:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:52:17 +0000 (18:52 +0100)
commit2f636ae565262bc2ced51d9f58d3b9431a8edee0
treecaa208942cb9e95a518c3192e6e2ecc03bc3bdfa
parent0dc02cca8b40b5b5190c2679058672a65ab7218d
mlx5: fix possible crash during initialization

RSS configuration should not be freed when priv is NULL.

Fixes: 2f97422e7759 ("mlx5: support RSS hash update and get")

Signed-off-by: Or Ami <ora@mellanox.com>
doc/guides/rel_notes/release_16_04.rst
drivers/net/mlx5/mlx5.c