From 092277048b0b37c206f335cc95d6b72d4f4a4623 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 26 Jul 2019 14:02:09 +0200 Subject: [PATCH] fix 4.19 networking patch to build properly --- ...net-mlx5e-ipoib-add-error-path-in-mlx5_rdma_setup_rn.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queue-4.19/net-mlx5e-ipoib-add-error-path-in-mlx5_rdma_setup_rn.patch b/queue-4.19/net-mlx5e-ipoib-add-error-path-in-mlx5_rdma_setup_rn.patch index eb34a08f0b9..e860ae09964 100644 --- a/queue-4.19/net-mlx5e-ipoib-add-error-path-in-mlx5_rdma_setup_rn.patch +++ b/queue-4.19/net-mlx5e-ipoib-add-error-path-in-mlx5_rdma_setup_rn.patch @@ -36,9 +36,9 @@ Signed-off-by: Greg Kroah-Hartman return netdev; +detach: -+ prof->cleanup(epriv); ++ profile->cleanup(epriv); + if (ipriv->sub_interface) -+ return err; ++ return NULL; + mlx5e_destroy_mdev_resources(mdev); destroy_ht: mlx5i_pkey_qpn_ht_cleanup(netdev); -- 2.47.3