NetBSD/sys/netatalk
ozaki-r 0092eb7df6 Invalidate rtcache based on a global generation counter
The change introduces a global generation counter that is incremented when any
routes have been added or deleted. When a rtcache caches a rtentry into itself,
it also stores a snapshot of the generation counter. If the snapshot equals to
the global counter, the cache is still valid, otherwise invalidated.

One drawback of the change is that all rtcaches of all protocol families are
invalidated when any routes of any protocol families are added or deleted.
If that matters, we should have separate generation counters based on
protocol families.

This change removes LIST_ENTRY from struct route, which fixes a part of
PR kern/52515.
2017-09-21 07:15:34 +00:00
..
Makefile
aarp.c
aarp.h
at.h
at_control.c
at_extern.h
at_print.c
at_proto.c
at_rmx.c
at_var.h
ddp.h
ddp_input.c
ddp_output.c
ddp_private.h
ddp_usrreq.c
ddp_var.h
files.netatalk
phase2.h