--- - branch: netbsd-8 date: Tue Oct 24 08:55:56 UTC 2017 files: - new: 1.752.2.5 old: 1.752.2.4 path: src/distrib/sets/lists/tests/mi pathrev: src/distrib/sets/lists/tests/mi@1.752.2.5 type: modified - new: 1.194.6.3 old: 1.194.6.2 path: src/sys/net/route.c pathrev: src/sys/net/route.c@1.194.6.3 type: modified - new: 1.112.4.2 old: 1.112.4.1 path: src/sys/net/route.h pathrev: src/sys/net/route.h@1.112.4.2 type: modified - new: 1.21.10.1 old: '1.21' path: src/sys/netatalk/at_proto.c pathrev: src/sys/netatalk/at_proto.c@1.21.10.1 type: modified - new: 1.123.4.2 old: 1.123.4.1 path: src/sys/netinet/in_proto.c pathrev: src/sys/netinet/in_proto.c@1.123.4.2 type: modified - new: 1.117.4.2 old: 1.117.4.1 path: src/sys/netinet6/in6_proto.c pathrev: src/sys/netinet6/in6_proto.c@1.117.4.2 type: modified - new: 1.30.8.1 old: '1.30' path: src/sys/netmpls/mpls_proto.c pathrev: src/sys/netmpls/mpls_proto.c@1.30.8.1 type: modified - new: 1.17.8.1 old: '1.17' path: src/sys/netnatm/natm_proto.c pathrev: src/sys/netnatm/natm_proto.c@1.17.8.1 type: modified - new: 1.64.8.1 old: '1.64' path: src/sys/rump/net/lib/libsockin/sockin.c pathrev: src/sys/rump/net/lib/libsockin/sockin.c@1.64.8.1 type: modified - new: 1.32.10.1 old: '1.32' path: src/sys/sys/domain.h pathrev: src/sys/sys/domain.h@1.32.10.1 type: modified - new: 1.5.6.1 old: '1.5' path: src/tests/net/route/Makefile pathrev: src/tests/net/route/Makefile@1.5.6.1 type: modified - new: 1.1.2.2 old: '0' path: src/tests/net/route/t_rtcache.sh pathrev: src/tests/net/route/t_rtcache.sh@1.1.2.2 type: added id: 20171024T085556Z.69eb05f58eed828ad17800a3b5e14cd5b8e1608e log: "Pull up following revision(s) (requested by ozaki-r in ticket #305):\n\tdistrib/sets/lists/tests/mi: revision 1.762\n\tsys/net/route.c: revision 1.198-1.201\n\tsys/net/route.h: revision 1.114\n\tsys/netatalk/at_proto.c: revision 1.22\n\tsys/netinet/in_proto.c: revision 1.124\n\tsys/netinet6/in6_proto.c: revision 1.118\n\tsys/netmpls/mpls_proto.c: revision 1.31\n\tsys/netnatm/natm_proto.c: revision 1.18\n\tsys/rump/net/lib/libsockin/sockin.c: revision 1.65\n\tsys/sys/domain.h: revision 1.33\n\ttests/net/route/Makefile: revision 1.6\n\ttests/net/route/t_rtcache.sh: revision 1.1\nAdd tests of rtcache invalidation\nRemove unnecessary NULL check of rt_ifp\nIt's always non-NULL.\nInvalidate rtcache based on a global generation counter\nThe change introduces a global generation counter that is incremented when any\nroutes have been added or deleted. When a rtcache caches a rtentry into itself,\nit also stores a snapshot of the generation counter. If the snapshot equals to\nthe global counter, the cache is still valid, otherwise invalidated.\nOne drawback of the change is that all rtcaches of all protocol families are\ninvalidated when any routes of any protocol families are added or deleted.\nIf that matters, we should have separate generation counters based on\nprotocol families.\nThis change removes LIST_ENTRY from struct route, which fixes a part of\nPR kern/52515.\nRemove the global lock for rtcache\nThanks to removal of LIST_ENTRY of struct route, rtcaches are accessed only by\ntheir users. And in existing usages a rtcache is guranteed to be not accessed\nsimultaneously. So the rtcache framework doesn't need any exclusion controls\nin itself.\nSynchronize on rtcache_generation with rtlock\nIt's racy if NET_MPSAFE is enabled.\nPointed out by joerg@\n" module: src subject: 'CVS commit: [netbsd-8] src' unixtime: '1508835356' user: snj