freebsd-dev/sys/net/route
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
..
nhop_ctl.c Split nhop_ref_object(). 2020-07-06 21:20:57 +00:00
nhop_utils.c
nhop_utils.h
nhop_var.h Use epoch(9) for rtentries to simplify control plane operations. 2020-05-23 10:21:02 +00:00
nhop.c Move route_temporal.c and route_var.h to net/route. 2020-04-28 19:14:09 +00:00
nhop.h Use epoch(9) for rtentries to simplify control plane operations. 2020-05-23 10:21:02 +00:00
route_ctl.c Switch rtsock code to using newly-create rib_action() KPI call. 2020-06-10 07:46:22 +00:00
route_ctl.h Switch rtsock code to using newly-create rib_action() KPI call. 2020-06-10 07:46:22 +00:00
route_ddb.c * Add rib_<add|del|change>_route() functions to manipulate the routing table. 2020-06-01 20:49:42 +00:00
route_helpers.c * Add rib_<add|del|change>_route() functions to manipulate the routing table. 2020-06-01 20:49:42 +00:00
route_temporal.c * Add rib_<add|del|change>_route() functions to manipulate the routing table. 2020-06-01 20:49:42 +00:00
route_var.h * Add rib_<add|del|change>_route() functions to manipulate the routing table. 2020-06-01 20:49:42 +00:00
shared.h Split nhop_ref_object(). 2020-07-06 21:20:57 +00:00