created | 2025-01-05T04:01:08Z |
---|---|
begin | 2024-12-31T00:00:00Z |
end | 2025-01-01T00:00:00Z |
path | src/sys |
commits | 2 |
date | 2024-12-31T12:19:46Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
src/sys/netinet/tcp_input.c | log | diff | annotate | |
src/sys/netinet/tcp_output.c | log | diff | annotate | |
src/sys/netinet/tcp_usrreq.c | log | diff | annotate | |
message |
Use per-sockbuf mutex(9) to protect `so_snd' buffer of tcp(4) sockets. Even for tcp(4) case, sosend() only checks `so_snd' free space and sleeps if necessary, actual buffer handling happens in solock()ed PCB layer. Only unlock sosend() path, the somove() is still locked exclusively. The "if (dosolock)" dances are useless, but intentionally left as is. Tested and ok by bluhm. |
date | 2024-12-31T17:16:05Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/kern/subr_hibernate.c | log | diff | annotate |
message |
Abandon a hibernate or resume when an i/o or memory allocation fails. Fixes & ok mglocker@, ok jmatthew@ |