]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix 4.19 networking patch to build properly
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 12:02:09 +0000 (14:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 12:02:09 +0000 (14:02 +0200)
queue-4.19/net-mlx5e-ipoib-add-error-path-in-mlx5_rdma_setup_rn.patch

index eb34a08f0b942bc5b5b4b155b767d82af69aae0d..e860ae09964e2a522a4ceb007690f10270f166c0 100644 (file)
@@ -36,9 +36,9 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        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);