Mark Johnston 26dd427800 Split nhop_ref_object().
Now nhop_ref_object() unconditionally acquires a reference, and the new
nhop_try_ref_object() uses refcount_acquire_if_not_zero() to
conditionally acquire a reference.  Since the former is cheaper, use it
when we know that the initial counter value is non-zero.  No functional
change intended.

Reviewed by:	melifaro
Differential Revision:	https://reviews.freebsd.org/D25535
2020-07-06 21:20:57 +00:00
..
2020-04-24 01:27:25 +00:00
2020-07-06 16:34:49 +00:00
2020-06-21 03:39:26 +00:00
2020-06-04 17:20:58 +00:00
2020-07-06 16:34:49 +00:00
2020-05-23 17:51:06 +00:00
2020-06-30 15:58:29 +00:00
2020-07-01 00:33:16 +00:00
2020-07-06 21:20:57 +00:00
2020-07-06 15:15:37 +00:00
2020-06-21 02:49:56 +00:00
2020-02-03 17:35:11 +00:00