Up to [cvs.NetBSD.org] / src / sys / netinet6
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: bouyer-socketcan
Revision 18.104.22.168 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:06 2017 UTC (5 months ago) by bouyer
Changes since 1.171: +10 -12 lines
Diff to previous 1.171 (colored) next main 1.172 (colored)
Sync with HEAD
Revision 1.171 / (download) - annotate - [select for diffs], Thu Dec 8 05:16:34 2016 UTC (9 months, 1 week ago) by ozaki-r
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.170: +31 -11 lines
Diff to previous 1.170 (colored)
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.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.