created | 2022-08-13T21:38:17Z |
---|---|
begin | 2022-08-08T00:00:00Z |
end | 2022-08-09T00:00:00Z |
path | src/sys |
commits | 9 |
date | 2022-08-08T01:53:01Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
message |
Before ypconnect(2) addition, "getpw" was a horrible "hole" that triggered on libc trying to open /var/run/ypbind.lock, so pledge had to BYPASSUNVEIL accesses to this file. We accepted the opening of that file for a small period for build cross-over, but that waiting period ends now. |
date | 2022-08-08T11:27:18Z | |||
---|---|---|---|---|
author | aoyama | |||
files | src/sys/arch/luna88k/luna88k/locore0.S | log | diff | annotate |
message |
Change branch condition inverted to realize original intention in comment. Found by Tetsuya Isaki at NetBSD and nono project, during investigating work-in-progress NetBSD/luna88k. It originally comes from Mach luna88k port, more than 30 years ago:-) Tested by me, "That's much better!" miod@ |
date | 2022-08-08T12:06:30Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/pf.c | log | diff | annotate |
src/sys/netinet/in_pcb.c | log | diff | annotate | |
src/sys/netinet/tcp_input.c | log | diff | annotate | |
src/sys/netinet/tcp_subr.c | log | diff | annotate | |
src/sys/netinet/tcp_usrreq.c | log | diff | annotate | |
src/sys/netinet/udp_usrreq.c | log | diff | annotate | |
message |
To make protocol input functions MP safe, internet PCB need protection. Use their reference counter in more places. The in_pcb lookup functions hold the PCBs in hash tables protected by table->inpt_mtx mutex. Whenever a result is returned, increment the ref count before releasing the mutex. Then the inp can be used as long as neccessary. Unref it at the end of all functions that call in_pcb lookup. As a shortcut, pf may also hold a reference to the PCB. When pf_inp_lookup() returns it, it also incements the ref count and the caller can handle it like the inp from table lookup. OK sashan@ |
date | 2022-08-08T12:06:31Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/in6_pcb.c | log | diff | annotate |
src/sys/netinet6/raw_ip6.c | log | diff | annotate | |
message |
To make protocol input functions MP safe, internet PCB need protection. Use their reference counter in more places. The in_pcb lookup functions hold the PCBs in hash tables protected by table->inpt_mtx mutex. Whenever a result is returned, increment the ref count before releasing the mutex. Then the inp can be used as long as neccessary. Unref it at the end of all functions that call in_pcb lookup. As a shortcut, pf may also hold a reference to the PCB. When pf_inp_lookup() returns it, it also incements the ref count and the caller can handle it like the inp from table lookup. OK sashan@ |
date | 2022-08-08T14:43:09Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/i386/include/Attic/mouse.h | log | diff | annotate |
message |
remove mouse.h last used by pre-wscons drivers ok miod@ millert@ |
date | 2022-08-08T15:28:59Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/arm/include/Attic/fp.h | log | diff | annotate |
src/sys/arch/arm/include/Attic/swi.h | log | diff | annotate | |
src/sys/arch/armv7/include/Attic/fp.h | log | diff | annotate | |
src/sys/arch/armv7/include/Attic/math.h | log | diff | annotate | |
src/sys/arch/armv7/include/Attic/rtc.h | log | diff | annotate | |
message |
remove unused arm and armv7 headers ok miod@ |
date | 2022-08-08T15:56:35Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/netinet6/ip6_forward.c | log | diff | annotate |
src/sys/netinet6/ip6_mroute.c | log | diff | annotate | |
src/sys/netinet6/nd6.c | log | diff | annotate | |
message |
Call getuptime() just once per function IPv6 pendant to bluhm's sys/netinet/if_ether.c r1.249: Instead of calling getuptime() all the time in ARP code, do it only once per function. This gives a more consistent time value. OK claudio@ miod@ mvs@ OK bluhm |
date | 2022-08-08T17:47:59Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
src/sys/netinet6/nd6.h | log | diff | annotate | |
src/sys/netinet6/nd6_nbr.c | log | diff | annotate | |
message |
Constify in6_addr pointer arguments in nd6_*() functions All of them are passed to inspect/copy out fields, none of the functions writes to the struct. This makes it easier to argue about code (in MP context). OK bluhm |
date | 2022-08-08T23:00:51Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/ip6_output.c | log | diff | annotate |
message |
If interface drivers had enabled transmit offloading of the payload checksum, IPv6 fragments contained invalid checksum. For fragments the protocol checksum has to be calculated before fragmentation. Hardware cannot do this as it is too late. Do it earlier in software. tested and OK mbuhl@ |