| Home | Sort by: relevance | last modified time | path |
| /src/usr.bin/make/unit-tests/ | |
| directive-export-impl.mk | 1.1 Tue Dec 29 01:45:06 UTC 2020 rillig make(1): add test that explains how variables are exported Exporting the variables at the right time and with the correct values is a subtle issue. The current implementation carefully marks variables as ready to be exported, then exports them and at the same time tries to export as few variables as possible, to avoid memory leaks. This test describes and explains how all this works in detail. This test also justifies that the call to Var_ReexportVars happens in the make process itself, not in the child processes, no matter whether these are created with vfork or (only theoretically) with plain fork. This has changed in compat.c 1.217, job.c 1.390 and main.c 1.504 from 2020-12-27. |
| directive-export-impl.exp | 1.1 Tue Dec 29 01:45:06 UTC 2020 rillig make(1): add test that explains how variables are exported Exporting the variables at the right time and with the correct values is a subtle issue. The current implementation carefully marks variables as ready to be exported, then exports them and at the same time tries to export as few variables as possible, to avoid memory leaks. This test describes and explains how all this works in detail. This test also justifies that the call to Var_ReexportVars happens in the make process itself, not in the child processes, no matter whether these are created with vfork or (only theoretically) with plain fork. This has changed in compat.c 1.217, job.c 1.390 and main.c 1.504 from 2020-12-27. |
| /src/sys/arch/mips/mips/ | |
| trap.c | 1.217 Wed Oct 15 06:51:18 UTC 2008 wrstuden branches: 1.217.12; Merge wrstuden-revivesa into HEAD. Wed Oct 15 06:51:18 UTC 2008 wrstuden branches: 1.217.12; Merge wrstuden-revivesa into HEAD. 1.217.12.46 Wed Aug 08 22:10:21 UTC 2012 matt Fix some LP64 bugs 1.217.12.45 Sat Aug 04 07:20:31 UTC 2012 matt Make MIPS use a multi-level page table for the kernel address space. (just like the user address does). XXX fix mips1 1.217.12.44 Mon Jul 09 17:14:47 UTC 2012 matt It's mips_cpu_switchto now. 1.217.12.43 Mon Feb 27 17:04:39 UTC 2012 matt Count all traps types. 1.217.12.42 Mon Feb 13 08:13:42 UTC 2012 matt Fix emulation to not panic when it encounters something it doesn't like. (so running crashme won't crash the system). Centralize the trapsignal processing so we can print out the trap info if so desired. Add a machdep.printfataltraps sysctl knob. 1.217.12.41 Thu Feb 09 03:10:05 UTC 2012 matt When printing a stack trace, use <sym>+0x# so you can c&p easily into gdb. 1.217.12.40 Thu Jan 19 08:28:50 UTC 2012 matt When running an N32 kernel, run it with 64-bit addresses even though the kernel itself will only use 32-bit addresses. There are exceptions. bus_space_handles are now register_t instead of intptr_t. This allows them to contain XKPHYS addresses. Now bus_space can use XKPHYS addresses and not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more KSEG2 space for the kernel to use. The cache range routines (but not index routines) now take a register_t instead of vaddr_t so they can too take a XKPHYS address. This allows the pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding massive icache invalidations. Since "cache" instruction effects are global to all CPUs and their caches, we can use the above to greatly simplify MP page isyncs. If using an O32 kernel with pages outside KSEG0, index ops still need to be performed since there isn't an a quick way of mapping the page. 1.217.12.39 Fri Dec 23 22:33:20 UTC 2011 matt Cleanup AST processing. |
| /src/share/man/man4/ | |
| btkbd.4 | 1.1.2.1 Thu Sep 07 13:47:50 UTC 2006 tron Pull up following revision(s) (requested by plunky in ticket #81): usr.sbin/postinstall/postinstall: revision 1.23 distrib/sets/lists/man/mi: revision 1.919 distrib/sets/lists/etc/mi: revision 1.174 usr.sbin/btdevctl/btdevctl.c: revision 1.1 usr.sbin/btdevctl/hid.c: revision 1.1 usr.sbin/Makefile: revision 1.217 usr.sbin/btdevctl/btdevctl.h: revision 1.1 usr.sbin/btdevctl/btdevctl.8: revision 1.1 etc/rc.d/btcontrol: file removal distrib/sets/lists/comp/mi: revision 1.910 etc/rc.d/Makefile: revision 1.61 usr.sbin/btdevctl/cfg.c: revision 1.1 usr.sbin/btdevctl/dev.c: revision 1.1 share/man/man4/btkbd.4: revision 1.2 share/man/man4/bthidev.4: revision 1.4 usr.sbin/btcontrol/hid.c: file removal usr.sbin/btdevctl/Makefile: revision 1.1 share/man/man4/btsco.4: revision 1.3 distrib/sets/lists/base/mi: revision 1.644 share/man/man4/btdev.4: revision 1.3 share/man/man4/btms.4: revision 1.2 etc/mtree/special: revision 1.100 share/man/man5/rc.conf.5: revision 1.105 usr.sbin/btcontrol/cfg.c: file removal etc/rc.d/btdevctl: revision 1.1 etc/defaults/rc.conf: revision 1.80 usr.sbin/btcontrol/btcontrol.h: file removal usr.sbin/btcontrol/btcontrol.8: file removal usr.sbin/btcontrol/dev.c: file removal usr.sbin/btcontrol/btcontrol.c: file removal usr.sbin/btcontrol/Makefile: file removal rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming scheme for control programs. This fixes pr 34051. |
| btms.4 | 1.1.2.1 Thu Sep 07 13:47:50 UTC 2006 tron Pull up following revision(s) (requested by plunky in ticket #81): usr.sbin/postinstall/postinstall: revision 1.23 distrib/sets/lists/man/mi: revision 1.919 distrib/sets/lists/etc/mi: revision 1.174 usr.sbin/btdevctl/btdevctl.c: revision 1.1 usr.sbin/btdevctl/hid.c: revision 1.1 usr.sbin/Makefile: revision 1.217 usr.sbin/btdevctl/btdevctl.h: revision 1.1 usr.sbin/btdevctl/btdevctl.8: revision 1.1 etc/rc.d/btcontrol: file removal distrib/sets/lists/comp/mi: revision 1.910 etc/rc.d/Makefile: revision 1.61 usr.sbin/btdevctl/cfg.c: revision 1.1 usr.sbin/btdevctl/dev.c: revision 1.1 share/man/man4/btkbd.4: revision 1.2 share/man/man4/bthidev.4: revision 1.4 usr.sbin/btcontrol/hid.c: file removal usr.sbin/btdevctl/Makefile: revision 1.1 share/man/man4/btsco.4: revision 1.3 distrib/sets/lists/base/mi: revision 1.644 share/man/man4/btdev.4: revision 1.3 share/man/man4/btms.4: revision 1.2 etc/mtree/special: revision 1.100 share/man/man5/rc.conf.5: revision 1.105 usr.sbin/btcontrol/cfg.c: file removal etc/rc.d/btdevctl: revision 1.1 etc/defaults/rc.conf: revision 1.80 usr.sbin/btcontrol/btcontrol.h: file removal usr.sbin/btcontrol/btcontrol.8: file removal usr.sbin/btcontrol/dev.c: file removal usr.sbin/btcontrol/btcontrol.c: file removal usr.sbin/btcontrol/Makefile: file removal rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming scheme for control programs. This fixes pr 34051. |
| bthidev.4 | 1.3.2.1 Thu Sep 07 13:47:50 UTC 2006 tron Pull up following revision(s) (requested by plunky in ticket #81): usr.sbin/postinstall/postinstall: revision 1.23 distrib/sets/lists/man/mi: revision 1.919 distrib/sets/lists/etc/mi: revision 1.174 usr.sbin/btdevctl/btdevctl.c: revision 1.1 usr.sbin/btdevctl/hid.c: revision 1.1 usr.sbin/Makefile: revision 1.217 usr.sbin/btdevctl/btdevctl.h: revision 1.1 usr.sbin/btdevctl/btdevctl.8: revision 1.1 etc/rc.d/btcontrol: file removal distrib/sets/lists/comp/mi: revision 1.910 etc/rc.d/Makefile: revision 1.61 usr.sbin/btdevctl/cfg.c: revision 1.1 usr.sbin/btdevctl/dev.c: revision 1.1 share/man/man4/btkbd.4: revision 1.2 share/man/man4/bthidev.4: revision 1.4 usr.sbin/btcontrol/hid.c: file removal usr.sbin/btdevctl/Makefile: revision 1.1 share/man/man4/btsco.4: revision 1.3 distrib/sets/lists/base/mi: revision 1.644 share/man/man4/btdev.4: revision 1.3 share/man/man4/btms.4: revision 1.2 etc/mtree/special: revision 1.100 share/man/man5/rc.conf.5: revision 1.105 usr.sbin/btcontrol/cfg.c: file removal etc/rc.d/btdevctl: revision 1.1 etc/defaults/rc.conf: revision 1.80 usr.sbin/btcontrol/btcontrol.h: file removal usr.sbin/btcontrol/btcontrol.8: file removal usr.sbin/btcontrol/dev.c: file removal usr.sbin/btcontrol/btcontrol.c: file removal usr.sbin/btcontrol/Makefile: file removal rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming scheme for control programs. This fixes pr 34051. |
| /src/sys/arch/vax/vsa/ | |
| gpx.c | 1.1.2.2 Sun Feb 12 00:27:26 UTC 2023 martin Pull up following revision(s) (requested by tsutsui in ticket #79): sys/arch/vax/conf/GENERIC: revision 1.217 sys/arch/vax/conf/VAX780: revision 1.34 sys/arch/vax/conf/files.vax: revision 1.126 sys/arch/vax/vsa/smg.c: revision 1.63 sys/arch/vax/include/qdreg.h: revision 1.7 sys/arch/vax/vax/conf.c: revision 1.69 sys/arch/vax/conf/INSTALL: revision 1.76 sys/arch/vax/vsa/gpx.c: revision 1.1 Add a support for gpx(4) color framebuffer found on VAXstation 3100. Ported from OpenBSD/vax. Note smg(4) monochrome onboard framebuffer driver is also changed attached only if gpx(4) is not installed or flags 1 is specified in config files, as OpenBSD did. Tested on my VAXstation 3100/m30 with and without 8bpp gpx(4). Revied on port-vax@ and "Please go ahead!" from ragge@. https://mail-index.netbsd.org/port-vax/2023/01/thread1.html#004147 |
| /src/usr.bin/vmstat/ | |
| drvstats.h | 1.4.4.1 Tue Jul 25 01:43:37 UTC 2017 snj Pull up following revision(s) (requested by mlelstv in ticket #138): usr.bin/systat/iostat.c: revision 1.38 usr.bin/systat/vmstat.c: revision 1.82 usr.bin/vmstat/drvstats.c: revision 1.11 usr.bin/vmstat/drvstats.h: revision 1.5 usr.bin/vmstat/vmstat.c: revision 1.217 usr.sbin/iostat/iostat.c: revision 1.65 Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end. -- Use I/O timestamps to compute disk statistics for better precisison. |
| drvstats.c | 1.10.4.1 Tue Jul 25 01:43:37 UTC 2017 snj Pull up following revision(s) (requested by mlelstv in ticket #138): usr.bin/systat/iostat.c: revision 1.38 usr.bin/systat/vmstat.c: revision 1.82 usr.bin/vmstat/drvstats.c: revision 1.11 usr.bin/vmstat/drvstats.h: revision 1.5 usr.bin/vmstat/vmstat.c: revision 1.217 usr.sbin/iostat/iostat.c: revision 1.65 Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end. -- Use I/O timestamps to compute disk statistics for better precisison. |
| /src/sys/arch/vax/include/ | |
| qdreg.h | 1.6.4.1 Sun Feb 12 00:27:26 UTC 2023 martin Pull up following revision(s) (requested by tsutsui in ticket #79): sys/arch/vax/conf/GENERIC: revision 1.217 sys/arch/vax/conf/VAX780: revision 1.34 sys/arch/vax/conf/files.vax: revision 1.126 sys/arch/vax/vsa/smg.c: revision 1.63 sys/arch/vax/include/qdreg.h: revision 1.7 sys/arch/vax/vax/conf.c: revision 1.69 sys/arch/vax/conf/INSTALL: revision 1.76 sys/arch/vax/vsa/gpx.c: revision 1.1 Add a support for gpx(4) color framebuffer found on VAXstation 3100. Ported from OpenBSD/vax. Note smg(4) monochrome onboard framebuffer driver is also changed attached only if gpx(4) is not installed or flags 1 is specified in config files, as OpenBSD did. Tested on my VAXstation 3100/m30 with and without 8bpp gpx(4). Revied on port-vax@ and "Please go ahead!" from ragge@. https://mail-index.netbsd.org/port-vax/2023/01/thread1.html#004147 |
| /src/tools/dtc/ | |
| Makefile | 1.2.4.2 Tue Jul 18 17:32:50 UTC 2017 snj Pull up following revision(s) (requested by jmcneill in ticket #114): distrib/sets/lists/comp/mi: revision 1.2139 distrib/sets/lists/debug/mi: revision 1.217 distrib/sets/mkvars.mk: revision 1.32 external/gpl2/Makefile: revision 1.14 share/mk/bsd.own.mk: revision 1.1010 tools/Makefile: revisions 1.188, 1.189 tools/dtc/Makefile: revisions 1.1, 1.2 tools/libfdt/Makefile: revisions 1.1, 1.2 Add libfdt -- New libfdt location -- tools build glue. -- Add dtc -- add MKDTC -- Add dtc -- add DTC -- add DTC -- No need to set dtc twice. -- Update for new libfdt location |
| /src/tools/libfdt/ | |
| Makefile | 1.2.4.2 Tue Jul 18 17:32:50 UTC 2017 snj Pull up following revision(s) (requested by jmcneill in ticket #114): distrib/sets/lists/comp/mi: revision 1.2139 distrib/sets/lists/debug/mi: revision 1.217 distrib/sets/mkvars.mk: revision 1.32 external/gpl2/Makefile: revision 1.14 share/mk/bsd.own.mk: revision 1.1010 tools/Makefile: revisions 1.188, 1.189 tools/dtc/Makefile: revisions 1.1, 1.2 tools/libfdt/Makefile: revisions 1.1, 1.2 Add libfdt -- New libfdt location -- tools build glue. -- Add dtc -- add MKDTC -- Add dtc -- add DTC -- add DTC -- No need to set dtc twice. -- Update for new libfdt location |
| /src/external/gpl2/ | |
| Makefile | 1.13.8.1 Tue Jul 18 17:32:50 UTC 2017 snj Pull up following revision(s) (requested by jmcneill in ticket #114): distrib/sets/lists/comp/mi: revision 1.2139 distrib/sets/lists/debug/mi: revision 1.217 distrib/sets/mkvars.mk: revision 1.32 external/gpl2/Makefile: revision 1.14 share/mk/bsd.own.mk: revision 1.1010 tools/Makefile: revisions 1.188, 1.189 tools/dtc/Makefile: revisions 1.1, 1.2 tools/libfdt/Makefile: revisions 1.1, 1.2 Add libfdt -- New libfdt location -- tools build glue. -- Add dtc -- add MKDTC -- Add dtc -- add DTC -- add DTC -- No need to set dtc twice. -- Update for new libfdt location |
| /src/sys/netinet/ | |
| udp_usrreq.c | 1.217 Sat Aug 09 05:33:01 UTC 2014 rtr branches: 1.217.2; 1.217.4; 1.217.6; 1.217.10; split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq switches and put into separate functions - always KASSERT(solocked(so)) even if not implemented (for PRU_CONNECT2 only) - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to pr_connect2() - replace calls to pr_generic() with req = PRU_PURGEIF with calls to pr_purgeif() put common code from unp_connect2() (used by unp_connect() into unp_connect1() and call out to it when needed patch only briefly reviewed by rmind@ Sat Aug 09 05:33:01 UTC 2014 rtr branches: 1.217.2; 1.217.4; 1.217.6; 1.217.10; split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq switches and put into separate functions - always KASSERT(solocked(so)) even if not implemented (for PRU_CONNECT2 only) - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to pr_connect2() - replace calls to pr_generic() with req = PRU_PURGEIF with calls to pr_purgeif() put common code from unp_connect2() (used by unp_connect() into unp_connect1() and call out to it when needed patch only briefly reviewed by rmind@ .2; 1.217.4; 1.217.6; 1.217.10; split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq switches and put into separate functions - always KASSERT(solocked(so)) even if not implemented (for PRU_CONNECT2 only) - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to pr_connect2() - replace calls to pr_generic() with req = PRU_PURGEIF with calls to pr_purgeif() put common code from unp_connect2() (used by unp_connect() into unp_connect1() and call out to it when needed patch only briefly reviewed by rmind@ .4; 1.217.6; 1.217.10; split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq switches and put into separate functions - always KASSERT(solocked(so)) even if not implemented (for PRU_CONNECT2 only) - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to pr_connect2() - replace calls to pr_generic() with req = PRU_PURGEIF with calls to pr_purgeif() put common code from unp_connect2() (used by unp_connect() into unp_connect1() and call out to it when needed patch only briefly reviewed by rmind@ .6; 1.217.10; split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq switches and put into separate functions - always KASSERT(solocked(so)) even if not implemented (for PRU_CONNECT2 only) - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to pr_connect2() - replace calls to pr_generic() with req = PRU_PURGEIF with calls to pr_purgeif() put common code from unp_connect2() (used by unp_connect() into unp_connect1() and call out to it when needed patch only briefly reviewed by rmind@ 1.217.10.1 Wed Jun 06 14:49:41 UTC 2018 martin Pull up following revision(s) (requested by maxv in ticket #1607): sys/netinet/udp_usrreq.c: revision 1.237 (via patch) Fix three pretty bad mistakes in NAT-T: * If we got a keepalive packet, we need to call m_freem, not m_free. Here the next mbufs in the chain are not freed. Seems easy to remotely DoS the system by sending fragmented keepalives in a loop. * If !ipsec_used, free the mbuf. * In udp_input, we need to update 'uh', because udp4_realinput may have modified the chain. Perhaps we also need to re-enforce alignment, so add an XXX. 1.217.6.1 Thu Jun 07 05:03:26 UTC 2018 martin Pull up following revision(s) (requested by maxv in ticket #1607): sys/netinet/udp_usrreq.c: revision 1.237 (via patch) Fix three pretty bad mistakes in NAT-T: * If we got a keepalive packet, we need to call m_freem, not m_free. Here the next mbufs in the chain are not freed. Seems easy to remotely DoS the system by sending fragmented keepalives in a loop. * If !ipsec_used, free the mbuf. * In udp_input, we need to update 'uh', because udp4_realinput may have modified the chain. Perhaps we also need to re-enforce alignment, so add an XXX. 1.217.4.9 Mon Aug 28 17:53:12 UTC 2017 skrll Sync with HEAD 1.217.4.8 Sun Feb 05 13:40:59 UTC 2017 skrll Sync with HEAD 1.217.4.7 Mon Dec 05 10:55:28 UTC 2016 skrll Sync with HEAD |
| /src/sys/dev/pcmcia/ | |
| pcmciadevs.h | 1.217 Thu Mar 23 02:15:05 UTC 2006 christos branches: 1.217.2; 1.217.4; Regen Thu Mar 23 02:15:05 UTC 2006 christos branches: 1.217.2; 1.217.4; Regen .2; 1.217.4; Regen 1.217.4.1 Thu Jul 13 17:49:43 UTC 2006 gdamore Merge from HEAD. 1.217.2.1 Thu Jun 22 03:39:49 UTC 2006 chap Complete a sync sys/ with head. |
| pcmciadevs_data.h | 1.217 Thu Mar 23 02:15:05 UTC 2006 christos branches: 1.217.2; 1.217.4; Regen Thu Mar 23 02:15:05 UTC 2006 christos branches: 1.217.2; 1.217.4; Regen .2; 1.217.4; Regen 1.217.4.1 Thu Jul 13 17:49:43 UTC 2006 gdamore Merge from HEAD. 1.217.2.1 Thu Jun 22 03:39:49 UTC 2006 chap Complete a sync sys/ with head. |
| pcmciadevs | 1.217 Fri Jul 28 08:02:39 UTC 2006 scottr branches: 1.217.4; 1.217.6; Add Siemens SS1021 WLAN. Fri Jul 28 08:02:39 UTC 2006 scottr branches: 1.217.4; 1.217.6; Add Siemens SS1021 WLAN. .4; 1.217.6; Add Siemens SS1021 WLAN. 1.208.6.7 Mon Jul 31 00:03:48 UTC 2006 tron Pull up following revision(s) (requested by scottr in ticket #1436): sys/dev/pcmcia/pcmciadevs: revision 1.217 via patch sys/dev/pcmcia/if_wi_pcmcia.c: revision 1.69 via patch Add Siemens SS1021 WLAN. 1.217.6.2 Sun Dec 10 07:18:06 UTC 2006 yamt sync with head. 1.217.6.1 Sun Oct 22 06:06:39 UTC 2006 yamt sync with head 1.217.4.1 Sat Nov 18 21:34:44 UTC 2006 ad Sync with head. |
| /src/sys/arch/i386/i386/ | |
| trap.c | 1.217 Sun Mar 04 05:59:58 UTC 2007 christos branches: 1.217.2; 1.217.4; 1.217.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. Sun Mar 04 05:59:58 UTC 2007 christos branches: 1.217.2; 1.217.4; 1.217.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. .2; 1.217.4; 1.217.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. .4; 1.217.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 1.217.10.2 Wed Oct 03 19:23:49 UTC 2007 garbled Sync with HEAD 1.217.10.1 Tue May 22 17:27:00 UTC 2007 matt Update to HEAD. 1.217.4.1 Wed Jul 11 20:00:04 UTC 2007 mjf Sync with head. 1.217.2.8 Mon Dec 03 19:03:31 UTC 2007 ad Sync with HEAD. 1.217.2.7 Mon Dec 03 18:36:47 UTC 2007 ad Sync with HEAD. 1.217.2.6 Thu Nov 01 21:23:38 UTC 2007 ad trap - Don't clear ci_want_resched here. - Don't acquire kernel_lock for delayed profiling updates. |
| /src/usr.sbin/btdevctl/ | |
| Makefile | 1.1.2.1 Thu Sep 07 13:47:50 UTC 2006 tron Pull up following revision(s) (requested by plunky in ticket #81): usr.sbin/postinstall/postinstall: revision 1.23 distrib/sets/lists/man/mi: revision 1.919 distrib/sets/lists/etc/mi: revision 1.174 usr.sbin/btdevctl/btdevctl.c: revision 1.1 usr.sbin/btdevctl/hid.c: revision 1.1 usr.sbin/Makefile: revision 1.217 usr.sbin/btdevctl/btdevctl.h: revision 1.1 usr.sbin/btdevctl/btdevctl.8: revision 1.1 etc/rc.d/btcontrol: file removal distrib/sets/lists/comp/mi: revision 1.910 etc/rc.d/Makefile: revision 1.61 usr.sbin/btdevctl/cfg.c: revision 1.1 usr.sbin/btdevctl/dev.c: revision 1.1 share/man/man4/btkbd.4: revision 1.2 share/man/man4/bthidev.4: revision 1.4 usr.sbin/btcontrol/hid.c: file removal usr.sbin/btdevctl/Makefile: revision 1.1 share/man/man4/btsco.4: revision 1.3 distrib/sets/lists/base/mi: revision 1.644 share/man/man4/btdev.4: revision 1.3 share/man/man4/btms.4: revision 1.2 etc/mtree/special: revision 1.100 share/man/man5/rc.conf.5: revision 1.105 usr.sbin/btcontrol/cfg.c: file removal etc/rc.d/btdevctl: revision 1.1 etc/defaults/rc.conf: revision 1.80 usr.sbin/btcontrol/btcontrol.h: file removal usr.sbin/btcontrol/btcontrol.8: file removal usr.sbin/btcontrol/dev.c: file removal usr.sbin/btcontrol/btcontrol.c: file removal usr.sbin/btcontrol/Makefile: file removal rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming scheme for control programs. This fixes pr 34051. |
| /src/sys/dev/scsipi/ | |
| st.c | 1.217 Sun May 30 04:38:04 UTC 2010 pgoyette branches: 1.217.8; 1.217.12; Extract SCSIVERBOSE into a kernel module. The module can be builtin by defining 'options SCSIVERBOSE' in the kernel config file (no change from current behavior), or it can be loaded at boot time on those architectures that support the boot loader's "load" command. The module is built for all architectures, whether or not SCSI or atapi support exists. Sun May 30 04:38:04 UTC 2010 pgoyette branches: 1.217.8; 1.217.12; Extract SCSIVERBOSE into a kernel module. The module can be builtin by defining 'options SCSIVERBOSE' in the kernel config file (no change from current behavior), or it can be loaded at boot time on those architectures that support the boot loader's "load" command. The module is built for all architectures, whether or not SCSI or atapi support exists. .8; 1.217.12; Extract SCSIVERBOSE into a kernel module. The module can be builtin by defining 'options SCSIVERBOSE' in the kernel config file (no change from current behavior), or it can be loaded at boot time on those architectures that support the boot loader's "load" command. The module is built for all architectures, whether or not SCSI or atapi support exists. 1.217.12.5 Sun Apr 29 23:05:00 UTC 2012 mrg sync to latest -current. 1.217.12.4 Tue Mar 06 18:26:45 UTC 2012 mrg sync to -current 1.217.12.3 Tue Mar 06 09:56:21 UTC 2012 mrg sync to -current 1.217.12.2 Sun Mar 04 00:46:27 UTC 2012 mrg sync to latest -current. 1.217.12.1 Sat Feb 18 07:35:00 UTC 2012 mrg merge to -current. 1.217.8.3 Thu May 22 11:40:35 UTC 2014 yamt sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") 1.217.8.2 Wed May 23 10:08:05 UTC 2012 yamt sync with head. |
| /src/sys/sys/ | |
| syscall.h | 1.217 Thu Oct 16 20:12:23 UTC 2008 wrstuden branches: 1.217.2; 1.217.4; 1.217.8; Regen syscall tables. I forgot to do it after revivesa. While pooka did some, not all are regenerated. Do them all at once for consistency. Thu Oct 16 20:12:23 UTC 2008 wrstuden branches: 1.217.2; 1.217.4; 1.217.8; Regen syscall tables. I forgot to do it after revivesa. While pooka did some, not all are regenerated. Do them all at once for consistency. .2; 1.217.4; 1.217.8; Regen syscall tables. I forgot to do it after revivesa. While pooka did some, not all are regenerated. Do them all at once for consistency. .4; 1.217.8; Regen syscall tables. I forgot to do it after revivesa. While pooka did some, not all are regenerated. Do them all at once for consistency. 1.217.8.1 Wed Apr 21 00:28:24 UTC 2010 matt sync to netbsd-5 1.217.4.1 Sat Sep 17 18:47:47 UTC 2011 bouyer Pull up following revision(s) (requested by manu in ticket #1658): sys/rump/include/rump/rump_syscalls.h: revision 1.52 via patch sys/kern/init_sysent.c: revision 1.257 via patch sys/rump/include/rump/rumpvnode_if.h: revision 1.12 via patch lib/libc/sys/Makefile.inc: revision 1.208 via patch sys/sys/syscallargs.h: revision 1.227 via patch sys/kern/kern_exec.c: revision 1.317 via patch sys/rump/librump/rumpkern/rump_syscalls.c: revision 1.74 via patch include/limits.h: revision 1.30 via patch sys/kern/syscalls.master: revision 1.251 via patch sys/sys/vnode_if.h: revision 1.83 via patch sys/sys/fcntl.h: revision 1.40 via patch sys/sys/fcntl.h: revision 1.41 via patch sys/kern/vfs_syscalls.c: revision 1.433 via patch sys/rump/librump/rumpvfs/rumpvnode_if.c: revision 1.11 via patch sys/kern/syscalls.c: revision 1.248 via patch sys/sys/syscall.h: revision 1.244 via patch lib/libc/sys/link.2: revision 1.25 via patch include/unistd.h: revision 1.127 via patch distrib/sets/lists/comp/mi: revision 1.1659 via patch sys/sys/stat.h: revision 1.61 via patch First stage of support for Extended API set 2. Most of the think is unimplemented, except enough of linkat(2) to hardlink to a symlink. Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since some software (e.g.: xcvs in our own tree) will assume they can use openat(2) when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support will be completed. regen improve comment about AT_* defines: they are not only used by linkat(2) Add macros to hide OpenGroup extened API set 2 from GNU configure. This is a temporary workaround until the implementation is completed. 1.217.2.1 Mon Jan 19 13:20:31 UTC 2009 skrll Sync with HEAD. |
| /src/sys/arch/sparc64/sparc64/ | |
| pmap.c | 1.217 Sun Apr 13 15:01:55 UTC 2008 ad branches: 1.217.2; 1.217.4; 1.217.6; Don't allocate or free pv_entry_t with pmap_lock held. Requested by martin@. Untested. Sun Apr 13 15:01:55 UTC 2008 ad branches: 1.217.2; 1.217.4; 1.217.6; Don't allocate or free pv_entry_t with pmap_lock held. Requested by martin@. Untested. .2; 1.217.4; 1.217.6; Don't allocate or free pv_entry_t with pmap_lock held. Requested by martin@. Untested. .4; 1.217.6; Don't allocate or free pv_entry_t with pmap_lock held. Requested by martin@. Untested. 1.217.6.3 Fri Oct 10 22:29:45 UTC 2008 skrll Sync with HEAD. 1.217.6.2 Thu Sep 18 04:33:34 UTC 2008 wrstuden Sync with wrstuden-revivesa-base-2. 1.217.6.1 Mon Jun 23 04:30:46 UTC 2008 wrstuden Sync w/ -current. 34 merge conflicts to follow. 1.217.4.4 Wed Aug 11 22:52:48 UTC 2010 yamt sync with head. 1.217.4.3 Thu Mar 11 15:03:02 UTC 2010 yamt sync with head 1.217.4.2 Wed Aug 19 18:46:47 UTC 2009 yamt sync with head. |
| /src/sbin/route/ | |
| rtutil.c | 1.8.8.1 Fri Jul 07 13:57:26 UTC 2017 martin Pull up following revision(s) (requested by ozaki-r in ticket #107): usr.sbin/arp/arp.c: revision 1.56 sys/net/rtsock.c: revision 1.218 sys/net/if_llatbl.c: revision 1.20 usr.sbin/arp/arp.c: revision 1.57 sys/net/rtsock.c: revision 1.219 sys/net/if_llatbl.c: revision 1.21 usr.sbin/arp/arp.c: revision 1.58 tests/net/net_common.sh: revision 1.19 sys/netinet6/nd6.h: revision 1.84 sys/netinet6/nd6.h: revision 1.85 tests/net/arp/t_arp.sh: revision 1.23 sys/netinet6/in6.c: revision 1.246 tests/net/arp/t_arp.sh: revision 1.24 sys/netinet6/in6.c: revision 1.247 tests/net/arp/t_arp.sh: revision 1.25 sys/netinet6/in6.c: revision 1.248 tests/net/arp/t_arp.sh: revision 1.26 usr.sbin/ndp/ndp.c: revision 1.49 tests/net/arp/t_arp.sh: revision 1.27 tests/net/ndp/t_ndp.sh: revision 1.20 tests/net/arp/t_arp.sh: revision 1.28 tests/net/ndp/t_ndp.sh: revision 1.21 tests/net/arp/t_arp.sh: revision 1.29 tests/net/ndp/t_ndp.sh: revision 1.22 tests/net/ndp/t_ndp.sh: revision 1.23 tests/net/route/t_flags6.sh: revision 1.13 tests/net/ndp/t_ndp.sh: revision 1.24 tests/net/route/t_flags6.sh: revision 1.14 tests/net/ndp/t_ndp.sh: revision 1.25 tests/net/route/t_flags6.sh: revision 1.15 tests/net/ndp/t_ndp.sh: revision 1.26 sbin/route/rtutil.c: revision 1.9 tests/net/ndp/t_ndp.sh: revision 1.27 tests/net/ndp/t_ndp.sh: revision 1.28 tests/net/net/t_ipv6address.sh: revision 1.14 tests/net/ndp/t_ra.sh: revision 1.28 tests/net/ndp/t_ndp.sh: revision 1.29 sys/net/route.h: revision 1.113 tests/net/ndp/t_ra.sh: revision 1.29 sys/net/rtsock.c: revision 1.220 sys/net/rtsock.c: revision 1.221 sys/net/rtsock.c: revision 1.222 sys/net/rtsock.c: revision 1.223 tests/net/route/t_route.sh: revision 1.13 sys/net/rtsock.c: revision 1.224 sys/net/route.c: revision 1.196 sys/net/if_llatbl.c: revision 1.19 sys/net/route.c: revision 1.197 sbin/route/route.c: revision 1.156 tests/net/route/t_flags.sh: revision 1.16 tests/net/route/t_flags.sh: revision 1.17 usr.sbin/ndp/ndp.c: revision 1.50 tests/net/route/t_flags.sh: revision 1.18 sys/netinet/in.c: revision 1.204 tests/net/route/t_flags.sh: revision 1.19 sys/netinet/in.c: revision 1.205 tests/net/arp/t_arp.sh: revision 1.30 tests/net/arp/t_arp.sh: revision 1.31 sys/net/if_llatbl.h: revision 1.11 tests/net/arp/t_arp.sh: revision 1.32 sys/net/if_llatbl.h: revision 1.12 tests/net/arp/t_arp.sh: revision 1.33 sys/netinet6/nd6.c: revision 1.233 sys/netinet6/nd6.c: revision 1.234 sys/netinet/if_arp.c: revision 1.251 sys/netinet6/nd6.c: revision 1.235 sys/netinet/if_arp.c: revision 1.252 sbin/route/route.8: revision 1.57 sys/net/rtsock.c: revision 1.214 sys/net/rtsock.c: revision 1.215 sys/net/rtsock.c: revision 1.216 sys/net/rtsock.c: revision 1.217 whitespace police Simplify We can assume that rt_ifp is always non-NULL. Sending a routing message (RTM_ADD) on adding an llentry A message used to be sent on adding a cloned route. Restore the behavior for backward compatibility. Requested by ryo@ Drop RTF_CONNECTED from a result of RTM_GET for ARP/NDP entries ARP/NDP entries aren't connected routes. Reported by ryo@ Support -c <count> option for route monitor route command exits if it receives <count> routing messages where <count> is a value specified by -c. The option is useful to get only particular message(s) in a test script. Test routing messages emitted on operations of ARP/NDP entries Do netstat -a for an appropriate protocol Add missing declarations for cleanup Set net.inet.arp.keep only if it's required Don't create a permanent L2 cache entry on adding an address to an interface It was created to copy FreeBSD, however actually the cache isn't necessary. Remove it to simplify the code and reduce the cost to maintain it (e.g., keep a consistency with a corresponding local route). Fix typo Fix in_lltable_match_prefix The function has not been used but will be used soon. Remove unused function (nd6_rem_ifa_lle) Allow in6_lltable_free_entry to be called without holding the afdata lock of ifp as well as in_lltable_free_entry This behavior is a bit odd and should be fixed in the future... Purge ARP/NDP entries on an interface when the interface is down Fix PR kern/51179 Purge all related L2 caches on removing a route The change addresses situations similar to PR 51179. Purge L2 caches on changing an interface of a route The change addresses situations similar to PR 51179. Test implicit removals of ARP/NDP entries One test case reproudces PR 51179. Fix build of kernels without both INET and INET6 Tweak lltable_sysctl_dumparp - Rename lltable_sysctl_dumparp to lltable_sysctl_dump because it's not only for ARP - Enable it not only for INET but also for INET6 Fix usage of routing messages on arp -d and ndp -d It didn't work as we expected; we should set RTA_GATEWAY not RTA_IFP on RTM_GET to return an if_index and the kernel should use it on RTM_DELETE. Improve backward compatibility of (fake) routing messages on adding an ARP/NDP entry A message originally included only DST and GATEWAY. Restore it. Fix ifdef; care about a case w/ INET6 and w/o INET Drop RTF_UP from a routing message of a deleted ARP/NDP entry Check existence of ARP/NDP entries Checking ARP/NDP entries is valid rather than checking routes. Fix wrong comment Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes They don't have llinfo anymore. And also the change fixes unexpected behavior of ARP proxy. Restore ARP/NDP entries to route show and netstat -r Requested by dyoung@ some time ago Enable to remove multiple ARP/NDP entries for one destination The kernel can have multiple ARP/NDP entries which have an indentical destination on different interfaces. This is normal and can be reproduce easily by ping -I or ping6 -S. We should be able to remove such entries. arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries and remove matched entries. So we can remove multiple entries described above. This fetch all and selective removal behavior is the same as arp <ip> and ndp <ip>; they also do fetch all entries and show only matched entries. Related to PR 51179 Check if ARP/NDP entries are purged when a related route is deleted |
| /src/tests/net/net/ | |
| t_ipv6address.sh | 1.13.2.1 Fri Jul 07 13:57:26 UTC 2017 martin Pull up following revision(s) (requested by ozaki-r in ticket #107): usr.sbin/arp/arp.c: revision 1.56 sys/net/rtsock.c: revision 1.218 sys/net/if_llatbl.c: revision 1.20 usr.sbin/arp/arp.c: revision 1.57 sys/net/rtsock.c: revision 1.219 sys/net/if_llatbl.c: revision 1.21 usr.sbin/arp/arp.c: revision 1.58 tests/net/net_common.sh: revision 1.19 sys/netinet6/nd6.h: revision 1.84 sys/netinet6/nd6.h: revision 1.85 tests/net/arp/t_arp.sh: revision 1.23 sys/netinet6/in6.c: revision 1.246 tests/net/arp/t_arp.sh: revision 1.24 sys/netinet6/in6.c: revision 1.247 tests/net/arp/t_arp.sh: revision 1.25 sys/netinet6/in6.c: revision 1.248 tests/net/arp/t_arp.sh: revision 1.26 usr.sbin/ndp/ndp.c: revision 1.49 tests/net/arp/t_arp.sh: revision 1.27 tests/net/ndp/t_ndp.sh: revision 1.20 tests/net/arp/t_arp.sh: revision 1.28 tests/net/ndp/t_ndp.sh: revision 1.21 tests/net/arp/t_arp.sh: revision 1.29 tests/net/ndp/t_ndp.sh: revision 1.22 tests/net/ndp/t_ndp.sh: revision 1.23 tests/net/route/t_flags6.sh: revision 1.13 tests/net/ndp/t_ndp.sh: revision 1.24 tests/net/route/t_flags6.sh: revision 1.14 tests/net/ndp/t_ndp.sh: revision 1.25 tests/net/route/t_flags6.sh: revision 1.15 tests/net/ndp/t_ndp.sh: revision 1.26 sbin/route/rtutil.c: revision 1.9 tests/net/ndp/t_ndp.sh: revision 1.27 tests/net/ndp/t_ndp.sh: revision 1.28 tests/net/net/t_ipv6address.sh: revision 1.14 tests/net/ndp/t_ra.sh: revision 1.28 tests/net/ndp/t_ndp.sh: revision 1.29 sys/net/route.h: revision 1.113 tests/net/ndp/t_ra.sh: revision 1.29 sys/net/rtsock.c: revision 1.220 sys/net/rtsock.c: revision 1.221 sys/net/rtsock.c: revision 1.222 sys/net/rtsock.c: revision 1.223 tests/net/route/t_route.sh: revision 1.13 sys/net/rtsock.c: revision 1.224 sys/net/route.c: revision 1.196 sys/net/if_llatbl.c: revision 1.19 sys/net/route.c: revision 1.197 sbin/route/route.c: revision 1.156 tests/net/route/t_flags.sh: revision 1.16 tests/net/route/t_flags.sh: revision 1.17 usr.sbin/ndp/ndp.c: revision 1.50 tests/net/route/t_flags.sh: revision 1.18 sys/netinet/in.c: revision 1.204 tests/net/route/t_flags.sh: revision 1.19 sys/netinet/in.c: revision 1.205 tests/net/arp/t_arp.sh: revision 1.30 tests/net/arp/t_arp.sh: revision 1.31 sys/net/if_llatbl.h: revision 1.11 tests/net/arp/t_arp.sh: revision 1.32 sys/net/if_llatbl.h: revision 1.12 tests/net/arp/t_arp.sh: revision 1.33 sys/netinet6/nd6.c: revision 1.233 sys/netinet6/nd6.c: revision 1.234 sys/netinet/if_arp.c: revision 1.251 sys/netinet6/nd6.c: revision 1.235 sys/netinet/if_arp.c: revision 1.252 sbin/route/route.8: revision 1.57 sys/net/rtsock.c: revision 1.214 sys/net/rtsock.c: revision 1.215 sys/net/rtsock.c: revision 1.216 sys/net/rtsock.c: revision 1.217 whitespace police Simplify We can assume that rt_ifp is always non-NULL. Sending a routing message (RTM_ADD) on adding an llentry A message used to be sent on adding a cloned route. Restore the behavior for backward compatibility. Requested by ryo@ Drop RTF_CONNECTED from a result of RTM_GET for ARP/NDP entries ARP/NDP entries aren't connected routes. Reported by ryo@ Support -c <count> option for route monitor route command exits if it receives <count> routing messages where <count> is a value specified by -c. The option is useful to get only particular message(s) in a test script. Test routing messages emitted on operations of ARP/NDP entries Do netstat -a for an appropriate protocol Add missing declarations for cleanup Set net.inet.arp.keep only if it's required Don't create a permanent L2 cache entry on adding an address to an interface It was created to copy FreeBSD, however actually the cache isn't necessary. Remove it to simplify the code and reduce the cost to maintain it (e.g., keep a consistency with a corresponding local route). Fix typo Fix in_lltable_match_prefix The function has not been used but will be used soon. Remove unused function (nd6_rem_ifa_lle) Allow in6_lltable_free_entry to be called without holding the afdata lock of ifp as well as in_lltable_free_entry This behavior is a bit odd and should be fixed in the future... Purge ARP/NDP entries on an interface when the interface is down Fix PR kern/51179 Purge all related L2 caches on removing a route The change addresses situations similar to PR 51179. Purge L2 caches on changing an interface of a route The change addresses situations similar to PR 51179. Test implicit removals of ARP/NDP entries One test case reproudces PR 51179. Fix build of kernels without both INET and INET6 Tweak lltable_sysctl_dumparp - Rename lltable_sysctl_dumparp to lltable_sysctl_dump because it's not only for ARP - Enable it not only for INET but also for INET6 Fix usage of routing messages on arp -d and ndp -d It didn't work as we expected; we should set RTA_GATEWAY not RTA_IFP on RTM_GET to return an if_index and the kernel should use it on RTM_DELETE. Improve backward compatibility of (fake) routing messages on adding an ARP/NDP entry A message originally included only DST and GATEWAY. Restore it. Fix ifdef; care about a case w/ INET6 and w/o INET Drop RTF_UP from a routing message of a deleted ARP/NDP entry Check existence of ARP/NDP entries Checking ARP/NDP entries is valid rather than checking routes. Fix wrong comment Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes They don't have llinfo anymore. And also the change fixes unexpected behavior of ARP proxy. Restore ARP/NDP entries to route show and netstat -r Requested by dyoung@ some time ago Enable to remove multiple ARP/NDP entries for one destination The kernel can have multiple ARP/NDP entries which have an indentical destination on different interfaces. This is normal and can be reproduce easily by ping -I or ping6 -S. We should be able to remove such entries. arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries and remove matched entries. So we can remove multiple entries described above. This fetch all and selective removal behavior is the same as arp <ip> and ndp <ip>; they also do fetch all entries and show only matched entries. Related to PR 51179 Check if ARP/NDP entries are purged when a related route is deleted |
| /src/tests/net/route/ | |
| t_route.sh | 1.12.4.1 Fri Jul 07 13:57:26 UTC 2017 martin Pull up following revision(s) (requested by ozaki-r in ticket #107): usr.sbin/arp/arp.c: revision 1.56 sys/net/rtsock.c: revision 1.218 sys/net/if_llatbl.c: revision 1.20 usr.sbin/arp/arp.c: revision 1.57 sys/net/rtsock.c: revision 1.219 sys/net/if_llatbl.c: revision 1.21 usr.sbin/arp/arp.c: revision 1.58 tests/net/net_common.sh: revision 1.19 sys/netinet6/nd6.h: revision 1.84 sys/netinet6/nd6.h: revision 1.85 tests/net/arp/t_arp.sh: revision 1.23 sys/netinet6/in6.c: revision 1.246 tests/net/arp/t_arp.sh: revision 1.24 sys/netinet6/in6.c: revision 1.247 tests/net/arp/t_arp.sh: revision 1.25 sys/netinet6/in6.c: revision 1.248 tests/net/arp/t_arp.sh: revision 1.26 usr.sbin/ndp/ndp.c: revision 1.49 tests/net/arp/t_arp.sh: revision 1.27 tests/net/ndp/t_ndp.sh: revision 1.20 tests/net/arp/t_arp.sh: revision 1.28 tests/net/ndp/t_ndp.sh: revision 1.21 tests/net/arp/t_arp.sh: revision 1.29 tests/net/ndp/t_ndp.sh: revision 1.22 tests/net/ndp/t_ndp.sh: revision 1.23 tests/net/route/t_flags6.sh: revision 1.13 tests/net/ndp/t_ndp.sh: revision 1.24 tests/net/route/t_flags6.sh: revision 1.14 tests/net/ndp/t_ndp.sh: revision 1.25 tests/net/route/t_flags6.sh: revision 1.15 tests/net/ndp/t_ndp.sh: revision 1.26 sbin/route/rtutil.c: revision 1.9 tests/net/ndp/t_ndp.sh: revision 1.27 tests/net/ndp/t_ndp.sh: revision 1.28 tests/net/net/t_ipv6address.sh: revision 1.14 tests/net/ndp/t_ra.sh: revision 1.28 tests/net/ndp/t_ndp.sh: revision 1.29 sys/net/route.h: revision 1.113 tests/net/ndp/t_ra.sh: revision 1.29 sys/net/rtsock.c: revision 1.220 sys/net/rtsock.c: revision 1.221 sys/net/rtsock.c: revision 1.222 sys/net/rtsock.c: revision 1.223 tests/net/route/t_route.sh: revision 1.13 sys/net/rtsock.c: revision 1.224 sys/net/route.c: revision 1.196 sys/net/if_llatbl.c: revision 1.19 sys/net/route.c: revision 1.197 sbin/route/route.c: revision 1.156 tests/net/route/t_flags.sh: revision 1.16 tests/net/route/t_flags.sh: revision 1.17 usr.sbin/ndp/ndp.c: revision 1.50 tests/net/route/t_flags.sh: revision 1.18 sys/netinet/in.c: revision 1.204 tests/net/route/t_flags.sh: revision 1.19 sys/netinet/in.c: revision 1.205 tests/net/arp/t_arp.sh: revision 1.30 tests/net/arp/t_arp.sh: revision 1.31 sys/net/if_llatbl.h: revision 1.11 tests/net/arp/t_arp.sh: revision 1.32 sys/net/if_llatbl.h: revision 1.12 tests/net/arp/t_arp.sh: revision 1.33 sys/netinet6/nd6.c: revision 1.233 sys/netinet6/nd6.c: revision 1.234 sys/netinet/if_arp.c: revision 1.251 sys/netinet6/nd6.c: revision 1.235 sys/netinet/if_arp.c: revision 1.252 sbin/route/route.8: revision 1.57 sys/net/rtsock.c: revision 1.214 sys/net/rtsock.c: revision 1.215 sys/net/rtsock.c: revision 1.216 sys/net/rtsock.c: revision 1.217 whitespace police Simplify We can assume that rt_ifp is always non-NULL. Sending a routing message (RTM_ADD) on adding an llentry A message used to be sent on adding a cloned route. Restore the behavior for backward compatibility. Requested by ryo@ Drop RTF_CONNECTED from a result of RTM_GET for ARP/NDP entries ARP/NDP entries aren't connected routes. Reported by ryo@ Support -c <count> option for route monitor route command exits if it receives <count> routing messages where <count> is a value specified by -c. The option is useful to get only particular message(s) in a test script. Test routing messages emitted on operations of ARP/NDP entries Do netstat -a for an appropriate protocol Add missing declarations for cleanup Set net.inet.arp.keep only if it's required Don't create a permanent L2 cache entry on adding an address to an interface It was created to copy FreeBSD, however actually the cache isn't necessary. Remove it to simplify the code and reduce the cost to maintain it (e.g., keep a consistency with a corresponding local route). Fix typo Fix in_lltable_match_prefix The function has not been used but will be used soon. Remove unused function (nd6_rem_ifa_lle) Allow in6_lltable_free_entry to be called without holding the afdata lock of ifp as well as in_lltable_free_entry This behavior is a bit odd and should be fixed in the future... Purge ARP/NDP entries on an interface when the interface is down Fix PR kern/51179 Purge all related L2 caches on removing a route The change addresses situations similar to PR 51179. Purge L2 caches on changing an interface of a route The change addresses situations similar to PR 51179. Test implicit removals of ARP/NDP entries One test case reproudces PR 51179. Fix build of kernels without both INET and INET6 Tweak lltable_sysctl_dumparp - Rename lltable_sysctl_dumparp to lltable_sysctl_dump because it's not only for ARP - Enable it not only for INET but also for INET6 Fix usage of routing messages on arp -d and ndp -d It didn't work as we expected; we should set RTA_GATEWAY not RTA_IFP on RTM_GET to return an if_index and the kernel should use it on RTM_DELETE. Improve backward compatibility of (fake) routing messages on adding an ARP/NDP entry A message originally included only DST and GATEWAY. Restore it. Fix ifdef; care about a case w/ INET6 and w/o INET Drop RTF_UP from a routing message of a deleted ARP/NDP entry Check existence of ARP/NDP entries Checking ARP/NDP entries is valid rather than checking routes. Fix wrong comment Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes They don't have llinfo anymore. And also the change fixes unexpected behavior of ARP proxy. Restore ARP/NDP entries to route show and netstat -r Requested by dyoung@ some time ago Enable to remove multiple ARP/NDP entries for one destination The kernel can have multiple ARP/NDP entries which have an indentical destination on different interfaces. This is normal and can be reproduce easily by ping -I or ping6 -S. We should be able to remove such entries. arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries and remove matched entries. So we can remove multiple entries described above. This fetch all and selective removal behavior is the same as arp <ip> and ndp <ip>; they also do fetch all entries and show only matched entries. Related to PR 51179 Check if ARP/NDP entries are purged when a related route is deleted |