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
..
aarp.c Apply pserialize and psref to struct ifaddr and its variants 2016-08-01 03:15:30 +00:00
aarp.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 Give proper prototype to ddp_output. 2016-01-20 21:59:19 +00:00
at_print.c
at_proto.c Revert previous: ran cvs commit when I meant cvs diff. Sorry! 2016-01-21 15:41:29 +00:00
at_rmx.c
at_var.h
at.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
ddp.h
files.netatalk
Makefile
phase2.h