Author: slavash
Date: Wed Dec 5 13:23:44 2018
New Revision: 341531
URL: https://svnweb.freebsd.org/changeset/base/341531
Log:
ibcore: Add missing unref of netdevice.
Submitted by: hselasky@
Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys/ofed/drivers/infiniband/core/ib_cma.c
Modified: head/sys/ofed/drivers/infiniband/core/ib_cma.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/core/ib_cma.c Wed Dec 5 13:23:14
2018 (r341530)
+++ head/sys/ofed/drivers/infiniband/core/ib_cma.c Wed Dec 5 13:23:44
2018 (r341531)
@@ -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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"