NetBSD/sys/netipsec
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
..
ah_var.h
ah.h
esp_var.h
esp.h
files.netipsec
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
ipsec_input.c Avoid storing a pointer of an interface in a mbuf 2016-06-10 13:31:43 +00:00
ipsec_mbuf.c
ipsec_netbsd.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
ipsec_osdep.h fix: locking about IFQ_ENQUEUE and ALTQ 2016-06-22 10:44:31 +00:00
ipsec_output.c
ipsec_private.h
ipsec_var.h
ipsec.c Add rtcache_unref to release points of rtentry stemming from rtcache 2016-12-08 05:16:33 +00:00
ipsec.h
key_debug.c Avoid storing a pointer of an interface in a mbuf 2016-06-10 13:31:43 +00:00
key_debug.h Add more debugging, no functional change. 2016-03-05 20:11:09 +00:00
key_var.h
key.c Apply pserialize to some iterations of IP address lists 2016-07-20 07:37:51 +00:00
key.h
keydb.h
keysock.c Introduce m_set_rcvif and m_reset_rcvif 2016-06-10 13:27:10 +00:00
keysock.h
Makefile
xform_ah.c
xform_esp.c
xform_ipcomp.c
xform_ipip.c Switch the address list of intefaces to pslist(9) 2016-07-07 09:32:01 +00:00
xform_tcp.c
xform.h eliminate variable argument in encapsw 2016-01-26 06:00:10 +00:00