NetBSD/sys/netatalk
ozaki-r 4c25fb2f83 Add rtcache_unref to release points of rtentry stemming from rtcache
In the MP-safe world, a rtentry stemming from a rtcache can be freed at any
points. So we need to protect rtentries somehow say by reference couting or
passive references. Regardless of the method, we need to call some release
function of a rtentry after using it.

The change adds a new function rtcache_unref to release a rtentry. At this
point, this function does nothing because for now we don't add a reference
to a rtentry when we get one from a rtcache. We will add something useful
in a further commit.

This change is a part of changes for MP-safe routing table. It is separated
to avoid one big change that makes difficult to debug by bisecting.
2016-12-08 05:16:33 +00:00
..
Makefile
aarp.c Apply pserialize and psref to struct ifaddr and its variants 2016-08-01 03:15:30 +00:00
aarp.h
at.h
at_control.c Apply pserialize and psref to struct ifaddr and its variants 2016-08-01 03:15:30 +00:00
at_extern.h
at_print.c
at_proto.c
at_rmx.c
at_var.h
ddp.h
ddp_input.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
ddp_output.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
ddp_private.h
ddp_usrreq.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
ddp_var.h
files.netatalk
phase2.h