IABSD.fr/src/sys

Branch :


Log

Author Commit Date CI Message
f803c2f9 2020-08-18 16:30:38 Try to avoid a theoretical infinite loop while detaching all the scsi_link's on the bus. Use SLIST_FOREACH_SAFE() rather than 'while (!SLIST_EMPTY())'' as there is a condition which would cause scsi_detach_link() to return without removing the scsi_link from the SLIST.
b85522ab 2020-08-18 13:41:49 Fix kn_data returned by filt_logread(). Take into account the circular nature of the message buffer when computing the number of available bytes. Move the computation into a separate function and use it with the kevent(2) and ioctl(2) interfaces. OK mpi@
f0e956f0 2020-08-18 13:38:24 Remove an unnecessary field from struct msgbuf. OK mvs@
7c72bba2 2020-08-18 05:21:21 Convert tcp_sysctl to sysctl_bounded_args This introduces bounds checks for many net.inet.tcp sysctl variables. Folded some fitting cases into the framework: tcp_do_sack, tcp_do_ecn. ok derradt@
baf5b8dd 2020-08-18 04:48:11 Add sysctl_bounded_arr as a replacement for sysctl_int_arr Design by deraadt@ ok deraadt@
31f14a25 2020-08-17 22:14:51 Remove unnecessary BM cookie defines.
b137aaec 2020-08-17 22:03:32 Rename gmac interrupt register defines to stay consistent with other gmac register defines.
1adf4f54 2020-08-17 21:54:39 Add enum for L2 cast like for L3.
13d9cc68 2020-08-17 21:32:44 Some register define renaming.
f247ea09 2020-08-17 21:12:06 Remove an unnecessary define.
4d0a0269 2020-08-17 21:02:37 Even more whitespace and header changes.
017da651 2020-08-17 19:08:23 More whitespace and enum cleanup.
f554cecb 2020-08-17 17:23:59 base clang is now i586. SMALL_KERNEL images have historically forced i486 (for space-saving reasons), but we don't currently need this in bsd.rd so let's try without to see if it improves things in any way (at least until the next have a space-saving crisis)
3d73cff4 2020-08-17 16:55:41 Switch to a per-proc SLB cache. Seems to make GENERIC.MP kernels (much more) stable. Probably because we could restore an incoherent SLB cache since there was no locking in the trap return path.
e0960442 2020-08-17 16:25:34 Simplify igmp_sysctl to directly return error in default case This replaces a piece of observationally identical code which was much more complicated. ok mpi@
ad54c436 2020-08-17 16:25:05 Plenty of whitespace fixups.
55fe8593 2020-08-17 08:12:17 Enable PAN (Privileged Access Never) on CPUs that support it. This means that user-space access from the kernel is not allowed for "normal" load/store instructions. Only the special "unprivileged" load/store instructions are allowed. We already use those in copyin(9) and copyout(9). ok patrick@, drahn@, jsg@
f7f933db 2020-08-17 08:09:03 Panic on an attempt to access user-space unless it is done using an "unpriviliged" load/store instruction. This makes sure we catch PAN violations and might even catch some incorrect user-space access cases on systems without PAN. ok drahn@, jsg@
478746b0 2020-08-17 04:26:57 Fix typo in comment From Paul de Weerd
ccbc029a 2020-08-16 16:08:10 Remove sc_maxgpe from acpi_softc which was never read from Remove a dead conditional from acpi_init_gpes while there. ok jcs@
51e951d2 2020-08-16 14:09:54 Properly implement setting of the signal voltage.
ecb1c2be 2020-08-16 13:39:21 Don't include scsi_debug.h via scsiconf.h. Nobody but scsi/* should be using the contents thereof. Compile tests by martjn@ (alpha), visa@ (sgi) jmatthew@ (sparc64) aoyama@ (luna88k)
66dcdfe8 2020-08-15 17:50:45 The last SET()s of CDF_WAITING, SDF_WAITING, and ST_WAITING died in the great XS_NO_CCB purge of 2017. Nuke pointless ISSET()/CLR() checks and the #define's.
71795fee 2020-08-15 13:21:02 Print ddr52 and hs200 indicators if those modes are supported. ok stsp@
cc37c486 2020-08-15 11:12:28 Remove unused headers
b9271645 2020-08-15 10:44:48 Inline handling of receive checksum offload
cbe056bc 2020-08-14 18:14:11 Re-commit Exar XR17V35x serial port support previously backed out: The Exar XR17V354 has 4 ports that have a 256-byte FIFO, use a frequency of 125Mhz, and have a unique sleep register. A custom interrupt handler is setup in puc for these ports so it can check a register which reports which ports triggered the interrupt, rather than having to run comintr for every port every time. To avoid probing for these ports in com_attach_subr which requires access to registers that may be reserved on certain platforms, pass the sc_uarttype from com_puc_attach since the port type is already known based on the puc device vendor/id. Input from kettenis, tested in snaps
dacd911a 2020-08-14 16:51:09 Remove "for all XXX platforms" from comment. Fixes the issue pointed out by miod@ where the powerpc64 claimed to be "for all AArch64 platforms". ok patrick@
58fa39c1 2020-08-14 16:45:48 Redistribute and tweak the scsi_[attach|probe|detach]_[bus|target|lun]() code to make the three variants more similar and easier to understand. Ensures consistent error checks and eliminates pointless adapter_buswidth checks when processing the list of scsi_links.
a7a39a0d 2020-08-14 15:15:27 Implement tuning and enable HS200 mode. On my ODROID-N2 I see very poor performance at 200 MHz, so restrict the maximum frequency to 150 MHz for now. This also makes the eMMC on the ODROID-C4 work properly.
a62fc20a 2020-08-14 14:49:04 Add support for eMMC HS200 mode. Loosely based on code from NetBSD. ok patrick@
f42c52cc 2020-08-14 12:17:34 Zap LOOPALIVECNT Unused since r1.138 from 2015: "remove cisco hdlc code from sppp(4)". OK mpi
840bb523 2020-08-14 12:14:06 Fix typo. Spotted by miod@
72e469b9 2020-08-14 12:13:01 Initialize local variable that was supposed to hold the value of curcpu(). Spotted by miod@
2fa3abdd 2020-08-14 11:51:07 When detaching common remote coverage, do not clear any fields. Instead, let kr_free() do the work. Otherwise a thread currently inside a remote section could end up not decrementing the number of ongoing sections while exiting the same remote section. Reported-by: syzbot+1252e696865efc29b767@syzkaller.appspotmail.com
85c3111f 2020-08-14 11:05:38 Set `IFXF_MPSAFE' bit to pppx(4) related `ifnet'. This moves pppx(4) packets output out of KERNEL_LOCK. pppx(4) and pipex(4) are ready to this. ok yasuoka@ mpi@
fe6a1b26 2020-08-13 12:11:15 Give SCSIBUS_B probing a chance to work with better logic in SCSI_IS_SCSIBUS_B(). i.e. return true when 'A' is finished probing (sc_child != NULL) and the sc_link->bus is != sc_child.
915014bf 2020-08-13 11:28:31 Always set `dtpr_size' to the total size required to hold all probe entries.
471fe7ef 2020-08-13 10:37:27 qlw_xs_bus() must return 0 while bus 0 is being probed. Found the hard way by martijn@ on his alpha.
0a23da6d 2020-08-13 10:04:37 Add __multi3 from compiler_rt-8.x Needed to build a sparc64 kernel with clang 10. ok kettenis@
49f00df6 2020-08-13 10:02:46 Move compiler_rt type definitions to a separate header so that we can reuse them in other compiler_rt routines. ok kettenis@
4c63d617 2020-08-13 04:58:22 Add a ROUTE_FLAGFILTER socket option for routing sockets, allowing filtering out messages for routes with flags matching any bit in a mask. This allows routing daemons to opt out of receiving messages for L2 and broadcast route entries, which they currently discard. ok dlg@ sthen@ deraadt@
08999238 2020-08-13 04:26:11 Use rtm_miss() rather than the simpler rtm_send() to send route delete messages, and save the route flags before deleting the route. For L2 route entries, the RTF_LLINFO flag is cleared during deletion, so saving the flags beforehand means they're correct in the routing socket message. ok mpi@
8d5e87ec 2020-08-12 15:31:27 getitimer(2): delay TIMESPEC_TO_TIMEVAL(9) conversion until copyout(9) setitimer(2) works with timespecs in its critical section. It will be easier to merge the two critical sections if getitimer(2) also works with timespecs. In particular, we currently read the uptime clock *twice* during a setitimer(2) swap: we call getmicrouptime(9) in sys_getitimer() and then call getnanouptime(9) in sys_setitimer(). This means that swapping one timer in for another is not atomic with respect to the uptime clock. It also means the two operations are working with different time structures and resolutions, which is potentially confusing. If both critical sections work with timespecs we can combine the two getnanouptime(9) calls into a single call at the start of the combined critical section in a future patch, making the swap atomic with respect to the clock. So, in preparation, move the TIMESPEC_TO_TIMEVAL conversions in getitimer(2) after the ITIMER_REAL conversion from absolute to relative time, just before copyout(9). The ITIMER_REAL conversion must then be done with timespec macros and getnanouptime(9), just like in setitimer(2).
7da17545 2020-08-12 14:41:09 setitimer(2): ITIMER_REAL: don't call timeout_del(9) before timeout_add(9) If we're replacing the current ITIMER_REAL timer with a new one we don't need to call timeout_del(9) before calling timeout_add(9). timeout_add(9) does the work of timeout_del(9) implicitly if the timeout in question is already pending. This saves us an extra trip through the timeout_mutex.
22f7ba00 2020-08-12 13:49:24 Reduce stack usage of kqueue_scan() Reuse the kev[] array of sys_kevent() in kqueue_scan() to lower stack usage. The code has reset kevp, but not nkev, whenever the retry branch is taken. However, the resetting is unnecessary because retry should be taken only if no events have been collected. Make this clearer by adding KASSERTs. OK mpi@
25b35665 2020-08-12 08:41:39 Remove interface statistics update for outgoing packets. We shouldn't count them because `if_snd' does this. ok yasuoka@
a6df88a7 2020-08-12 04:58:49 skip trying to read disabled bios on RV610 Reading the disabled bios on two Dell machines with RV610 passes initial checks but later fails atombios specific checks. This occurs when running amd64 but not i386. Returning early when reading the disabled bios will result in calling radeon_read_platform_bios() and using the bios at 0xc0000 which works for both systems this was reported for semarie@ on Dell OptiPlex 755 RV610 0x1002:0x94C3 0x1028:0x0402 0x00 Andy Bradford on Dell DXP051 RV610 0x1002:0x94C1 0x1028:0x0D02 0x00
a58cb6b3 2020-08-12 03:48:22 drm/drm_fb_helper: fix fbdev with sparc64 From Sam Ravnborg cea0a7943a30a6d0320c8558a844dd27e8f0aa8b in linux 5.7.y/5.7.15 2a1658bf922ffd9b7907e270a7d9cdc9643fc45d in mainline linux
6dab8d36 2020-08-11 23:40:54 Run start routing without KERNEL_LOCK() pfsyncstart() does not require the big lock, make it use the ifq API. OK mvs
efe63c19 2020-08-11 22:00:51 setitimer(2): write new timer value in one place Rearrange the critical section in setitimer(2) to match that of getitimer(2). This will make it easier to merge the two critical sections in a subsequent diff. In particular, we want to write the new timer value in *one* place in the code, regardless of which timer we're setting. ok millert@
bd0b8360 2020-08-11 18:29:58 setitimer(2): consolidate copyin(9), input validation, input conversion For what are probably historical reasons, setitimer(2) does not validate its input (itv) immediately after copyin(9). Instead, it waits until after (possibly) performing a getitimer(2) to copy out the state of the timer. Consolidating copyin(9), input validation, and input conversion into a single block before the getitimer(2) operation makes setitimer(2) itself easier to read. It will also simplify merging the critical sections of setitimer(2) and getitimer(2) in a subsequent patch. This changes setitimer(2)'s behavior in the EINVAL case. Currently, if your input (itv) is invalid, we return EINVAL *after* modifying the output (olditv). With the patch we will now return EINVAL *before* modifying the output. However, any code dependent upon this behavior is broken: the contents of olditv are undefined in all setitimer(2) error cases. ok millert@
74ea3cc8 2020-08-11 15:41:50 getitimer(2): don't enter itimer_mtx to read ITIMER_REAL itimerspec The ITIMER_REAL per-process interval timer is protected by the kernel lock. The ITIMER_REAL timeout (ps_realit_to), setitimer(2), and getitimer(2) all run under the kernel lock. Entering itimer_mtx during getitimer(2) when reading the ITIMER_REAL ps_timer state is superfluous and misleading.
bba39a67 2020-08-11 15:23:57 Explicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will do it. Prepares for removal of #include <scsi/scsi_debug.h> from scsiconf.h as soon as the alpha tester digs out from hurricane to compile last untested files.
f98ca247 2020-08-11 14:57:56 struct process: annotate locking for getitimer(2), setitimer(2) The ITIMER_REAL itimerspec (ps_timer[0]) and timeout (ps_realit_to) are protected by the kernel lock. Annotate them with "K". The ITIMER_VIRTUAL and ITIMER_PROF itimerspecs (ps_timer[1], ps_timer[2]) are protected by itimer_mtx. Annotate them with "T", for "timer". With input from kettenis@ and anton@. ok kettenis@, anton@
c40fe122 2020-08-10 21:55:59 Get Elantech v1 touchpad with fw version 0x20022 working. From sxvghd (at) firemail (dot) cc, on tech@
eb1d1cee 2020-08-10 15:22:53 Do not block IPIs when acquiring the rendezvous mutex. Otherwise the system would deadlock when a CPU gets blocked by the mutex while another CPU is waiting for the first CPU to finish a rendezvous request. This possibly fixes some hangs on sgi. There should be no effect on loongson and octeon because their interrupt code is sloppy with masking of IPIs. While here, rename the rendezvous mutex to better reflect its use.
ae7c6741 2020-08-10 12:12:44 Minor code shuffle to get all *_activate(), *_probe() and *_detach() functions nestled together. Rename scsibusprint() to scsibussubprint() since it is used with scsibussubmatch().
92621707 2020-08-10 10:55:43 Set `IFXF_MPSAFE' bit to pppac(4) related `ifnet'. This moves pppac(4) packets output out of KERNEL_LOCK. pppac(4) and pipex(4) are ready to this. ok yasuoka@
ab3a3b88 2020-08-10 06:25:02 remove #if 0'd ufs2 magic error which predates ffs2 support ok kn@
fb67b792 2020-08-10 05:47:37 use EROFS when attempting to mount a 4.2BSD fs without MNT_RDONLY This is the documented behaviour which was changed by pedro in rev 1.81 which was partially backed out in rev 1.82.
c34741d6 2020-08-10 05:18:46 consistently return EINVAL on invalid BPB reverts changes from msdosfs_vfsops.c rev 1.7 Prompted by a patch from John Carmack to add an an error path when exFAT is detected on mount to give a more helpful error message. Returning EINVAL in the existing sanity checks will make mount_msdos(8) print "not an MSDOS filesystem" when attempting to mount exFAT and matches historic and documented behaviour. ok kn@
c03004a5 2020-08-10 04:11:48 Remove the acpicpu_sc array and instead locate acpicpu instances using the ci_acpicpudev pointer in struct cpu_info. This simplifies matters when we have lots of cpus. ok kettenis@
3c86a58e 2020-08-09 19:15:47 hardclock(9): fix race with setitimer(2) for ITIMER_VIRTUAL, ITIMER_PROF The ITIMER_VIRTUAL and ITIMER_PROF per-process interval timers are updated from hardclock(9). If a timer for the parent process is enabled the hardclock(9) thread calls itimerdecr() to update and reload it as needed. However, in itimerdecr(), after entering itimer_mtx, the thread needs to double-check that the timer in question is still enabled. While the hardclock(9) thread is entering itimer_mtx a thread in setitimer(2) can take the mutex and disable the timer. If the timer is disabled, itimerdecr() should return 1 to indicate that the timer has not expired and that no action needs to be taken. ok kettenis@
9c2a17ab 2020-08-09 15:06:01 More code shuffling. Fix a rename missed in previous.
d8baefb3 2020-08-09 14:33:49 vether(4) is pretty dummy. It contains nothing requires to be protected. So set `IFXF_MPSAFE' bit. This allows to discard outgoing packets without kernel lock. ok kn@
14832242 2020-08-09 13:29:08 Shuffle functions and declarations around to more logical grouping. Nuke some leading whitespace. Rename some local functions.
ec4d335c 2020-08-08 19:53:02 Remove now unused M_ACAST flag. Reminded by, input & OK jca
cdca80fc 2020-08-08 13:08:23 scsi_link's are born knowing their bus. Use that instead of passing extra scsibus_softc pointers around.
0e602b66 2020-08-08 12:40:55 The only thing worse than trailing whitespace is leading spaces instead of tabs.
22eb2a69 2020-08-08 07:42:31 No longer prevent TCP connections to IPv6 anycast addresses. RFC 4291 dropped this requirement from RFC 3513: o An anycast address must not be used as the source address of an IPv6 packet. And from that requirement draft-itojun-ipv6-tcp-to-anycast rightly concluded that TCP connections must be prevented. The draft also states: The proposed method MUST be removed when one of the following events happens in the future: o Restriction imposed on IPv6 anycast address is loosened, so that anycast address can be placed into source address field of the IPv6 header[...] OK jca
87e66a9b 2020-08-08 01:01:26 adjtime(2): simplify input validation for new adjustment The current input validation for overflow is more complex than it needs to be. We can flatten the conditional hierarchy into a string of checks just one level deep. The result is easier to read.
da856266 2020-08-07 20:12:15 pfkey_get may allocate more memory than is needed to hold the SA information. Make sure to only copy out actually used memory. ok patrick@
7bd1e8e8 2020-08-07 18:09:16 The IPv6 source address selection rewrite had one (known) difference to the previous behavior: In case of a tie the new implementation would keep the current best address while the old implementation replaced the best address. Since IPv6 addresses are stored in a TAILQ this meant that the rewrite would use the "oldest" address while the previous behavior was to use the "newest". RFC 6724 section 5 has no opinion which one is better and leaves the tie break up to implementers. naddy found out the hard way that this breaks his IPv6 connectivity in case of flash renumbering events when the link on his cpe flaps and a new prefix is used since we would always pick an old address. While we could pick the newest address in a tie break this feels too much like an implementation detail, a solution much more in the spirit of IPv6 is to pick the address with the highest preferred lifetime (or valid lifetime in case of another tie). very patient testing naddy@
03077e54 2020-08-07 14:35:38 sosplice(9): fully validate idle timeout The socket splice idle timeout is a timeval, so we need to check that tv_usec is both non-negative and less than one million. Otherwise it isn't in canonical form. We can check for this with timerisvalid(3). benno@ says this shouldn't break anything in base. ok benno@, bluhm@
dfa3bc0b 2020-08-07 13:53:58 - Do better work in ifmedia_upd - Eliminate the redundant bits of code for MTU handling; From Brad
a17537c0 2020-08-07 00:45:25 timeout(9): remove unused interfaces: timeout_add_ts(9), timeout_add_bt(9) These two interfaces have been entirely unused since introduction. Remove them and thin the "timeout" namespace a bit. Discussed with mpi@ and ratchov@ almost a year ago, though I blocked the change at that time. Also discussed with visa@. ok visa@, mpi@
8c5797b4 2020-08-06 19:47:44 Allow pf(4) to divert packets from bridge(4) to local socket. joint work markus@ patrick@ bluhm@
d97ba291 2020-08-06 17:54:08 timeout(9): fix miscellaneous remote kcov(4) bugs Commit v1.77 introduced remote kcov support for timeouts. We need to tweak a few things to make our support more correct: - Set to_process for barrier timeouts to the calling thread's parent process. Currently it is uninitialized, so during timeout_run() we are passing stack garbage to kcov_remote_enter(9). - Set to_process to NULL during timeout_set_flags(9). If in the future we forget to properly initialize to_process before reaching timeout_run(), we'll pass NULL to kcov_remote_enter(9). anton@ says this is harmless. I assume it is also preferable to passing stack garbage. - Save a copy of to_process on the stack in timeout_run() before calling to_func to ensure that we pass the same process pointer to kcov_remote_leave(9) upon return. The timeout may be freely modified from to_func, so to_process may have changed when we return. Tested by anton@. ok anton@
f232436a 2020-08-06 14:06:12 Remove duplicate comment. ok mpi@
03841435 2020-08-06 12:00:46 Remove defines for `netisr' bits which are not used anymore. ok mpi@
4881309f 2020-08-05 21:15:38 Don't compare pointers against zero. Reported by Peter J. Philipp. ok mvs@ deraadt@
483a0179 2020-08-05 21:04:54 Use PFKEYV2_LIFETIME_CURRENT instead of magic number. ok patrick@
7205f196 2020-08-05 13:50:25 Allow the WSDISPLAYIO_GETSCREENTYPE ioctl on the tty*cfg device, passing it back to tty*0. This is needed to restore working defaults in wsfontload(8). OK jcs@, mpi@
9365956f 2020-08-05 11:07:34 Revert r1.614 of net/if.c. Modifications of `ifnet' list must still be done under both the KERNEL_LOCK() and NET_LOCK().
e2f5ef80 2020-08-05 11:07:18 drm: hold gem reference until object is no longer accessed From Steve Cohen 5aa4eb5a6d915cf00bf104ddd76e1adbc3dabdc4 in linux 5.7.y/5.7.13 8490d6a7e0a0a6fab5c2d82d57a3937306660864 in mainline linux
8b9ccabb 2020-08-05 11:05:02 drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl() From Peilin Ye dd4672ba579a78f14dab65062d95c16f0835947b in linux 5.7.y/5.7.13 543e8669ed9bfb30545fd52bc0e047ca4df7fb31 in mainline linux
d8f6edc7 2020-08-05 11:02:10 drm/amd/display: Clear dm_state for fast updates From Mazin Rezk ee27c88788b88c9c1c75e3a9ce580c79c2dba009 in linux 5.7.y/5.7.13 fde9f39ac7f1ffd799a96ffa1e06b2051f0898f1 in mainline linux
e1afeb4c 2020-08-05 10:58:41 Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers" From Alex Deucher f53aaf88742ccee0e9aa4ed7d700ceeb434d9a7a in linux 5.7.y/5.7.13 87004abfbc27261edd15716515d89ab42198b405 in mainline linux
4dcf5607 2020-08-05 05:49:07 sigh, some duplication, but at least put things into the canonical order
b5384e27 2020-08-04 23:19:30 add cd9660, msdos, and inet6 support
efa3c3dd 2020-08-04 17:05:52 Validate input given to ioctl(SIOCAIFADDR_IN6) like NetBSD already does. Fixes a bunch of panics reported by syzkaller. ok florian@ Reported-by: syzbot+02f2e07964a89ab65ea4@syzkaller.appspotmail.com Reported-by: syzbot+c26b058a499ce38f689f@syzkaller.appspotmail.com Reported-by: syzbot+62af76d8cb7c09ac017c@syzkaller.appspotmail.com Reported-by: syzbot+d70144b3ae2ec068e318@syzkaller.appspotmail.com Reported-by: syzbot+3c87ca9873bfd0492f5c@syzkaller.appspotmail.com Reported-by: syzbot+323549177062adb80f84@syzkaller.appspotmail.com Reported-by: syzbot+e745c1c29d960337ce14@syzkaller.appspotmail.com Reported-by: syzbot+91da988a445013baf925@syzkaller.appspotmail.com Reported-by: syzbot+747cbcbbed6318542061@syzkaller.appspotmail.com Reported-by: syzbot+ca5efa23e00130bc8000@syzkaller.appspotmail.com Reported-by: syzbot+731ab8c9a0342ace4189@syzkaller.appspotmail.com Reported-by: syzbot+6c80b815a0ff8f09be69@syzkaller.appspotmail.com Reported-by: syzbot+7939d2c4bc9a5dfa707a@syzkaller.appspotmail.com Reported-by: syzbot+e893fb0259640a314d06@syzkaller.appspotmail.com Reported-by: syzbot+b6a3447070ae8ffcb125@syzkaller.appspotmail.com Reported-by: syzbot+23c0824b688f28c79c1b@syzkaller.appspotmail.com Reported-by: syzbot+6cc72412d8ddcf87f8a1@syzkaller.appspotmail.com
1b38d536 2020-08-04 16:28:16 Initialize per-pmap lock.
fd07ab7e 2020-08-04 14:45:46 Pack multiple packets into one xfer as possible. Given this is a 5x-7x TX improvement. It's all Jonathon's code so assert his copyright. Submitted by Jonathon Fletcher. Tested by jcs@, Mikolaj Kucharski, Jonathon Fletcher and myself. ok jmatthew@
e2b6ab26 2020-08-04 11:48:57 On POWER9 use the "darn" instruction and feed its output as entropy into the random subsystem. ok deraadt@
53c2c62e 2020-08-04 09:32:05 We have `pipexinq' and `pipexoutq' mbuf(9) queues to store pipex(4) related mbufs. Each mbuf(9) passed to these queues stores the pointer to corresponding pipex(4) session referenced as `m_pkthdr.ph_cookie'. When session was destroyed its reference can still be in these queues so we have use after free issue while pipexintr() dereference it. I removed `pipexinq', `pipexoutq' and pipexintr(). This not only allows us to avoid issue described above, but also removes unnecessary context switch in packet processing. Also it makes code simpler. ok mpi@ yasuoka@
9d2990b3 2020-08-03 19:05:46 add more scsi devices, observed by gkoehler
8260c3e1 2020-08-03 14:25:56 sync
11206926 2020-08-03 14:25:44 Gear Head keyboard IDs, from Tom Murphy
d0e09f67 2020-08-03 07:02:08 remove timeval conversion interfaces no longer in linux