From: Greg Kroah-Hartman Date: Fri, 26 Jul 2019 12:02:09 +0000 (+0200) Subject: fix 4.19 networking patch to build properly X-Git-Tag: v5.2.4~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=092277048b0b37c206f335cc95d6b72d4f4a4623;p=thirdparty%2Fkernel%2Fstable-queue.git fix 4.19 networking patch to build properly --- 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);