Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 10:57:59 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r341875 - stable/12/sys/ofed/drivers/infiniband/core
Message-ID:  <201812121057.wBCAvxUv029887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Dec 12 10:57:58 2018
New Revision: 341875
URL: https://svnweb.freebsd.org/changeset/base/341875

Log:
  MFC r341531:
  ibcore: Add missing unref of netdevice.
  
  Sponsored by:   Mellanox Technologies

Modified:
  stable/12/sys/ofed/drivers/infiniband/core/ib_cma.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/ofed/drivers/infiniband/core/ib_cma.c
==============================================================================
--- stable/12/sys/ofed/drivers/infiniband/core/ib_cma.c	Wed Dec 12 10:56:53 2018	(r341874)
+++ stable/12/sys/ofed/drivers/infiniband/core/ib_cma.c	Wed Dec 12 10:57:58 2018	(r341875)
@@ -1335,6 +1335,7 @@ static bool validate_ipv6_net_dev(struct net_device *n
 			dev_put(dst_dev);
 		return false;
 	}
+	dev_put(dst_dev);
 
 	CURVNET_SET(net_dev->if_vnet);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812121057.wBCAvxUv029887>