CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/20 03:11:21
Modified files:
sys/kern : vfs_init.c
sys/miscfs/fuse: fuse_vfsops.c
Log message:
Drop MNT_LOCAL flag in corresponding `vfsconflist' fuse(4) entry instead
of cleaning it
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/17 13:11:14
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/sys: socketvar.h
Log message:
Turn sblock() to `sb_lock' rwlock(9) wrapper for all sockets.
Unify
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/17 13:02:04
Modified files:
sys/kern : uipc_socket.c
sys/net: pfkeyv2.c
Log message:
Switch AF_KEY sockets to the new locking scheme.
The simplest case. Nothing to change in
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/17 12:58:26
Modified files:
sys/net: pfkeyv2.c
Log message:
Fix uninitialized memory access in pfkeyv2_sysctl().
pfkeyv2_sysctl() reads the SA type from uninitialized memory if it is
not
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/07 08:27:11
Modified files:
sys/miscfs/fuse: fuse_vfsops.c
Log message:
Clear MNT_LOCAL flag on FUSE file system. It can be local or remote, but
kernel can't tell the difference.
>From Kirill A.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/03 11:43:10
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c uipc_usrreq.c
sys/miscfs/fifofs: fifo_vnops.c
sys/sys: socketvar.h
Log message:
Push solock() down
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/02 15:26:52
Modified files:
sys/kern : uipc_socket2.c
Log message:
Quick fix previous one. socantrcvmore() should raise assertion if
`so_rcv' has SB_MTXLOCK flag clean, not SB_OWNLOCK.
ok
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/02 11:10:55
Modified files:
sys/kern : uipc_usrreq.c
Log message:
Don't re-lock sockets in uipc_shutdown().
No reason to lock peer. It can't be or became listening socket, both
sockets can't
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/02 05:55:31
Modified files:
sys/kern : uipc_socket.c
Log message:
Pass `sosp' instead of `so' to sblock() when locking `so_snd' within
sosplice().
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/30 11:59:15
Modified files:
sys/kern : sys_socket.c uipc_socket.c uipc_socket2.c
Log message:
Push solock() down to sosend() for SOCK_RAW sockets.
Raw sockets are the simplest inet sockets,
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/15 15:31:29
Modified files:
sys/kern : uipc_socket.c
Log message:
Don't take solock() in soreceive() for udp(4) sockets.
These sockets are not connection oriented, they don't call pru_rcvd(),
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/11 07:32:51
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/sys: socketvar.h
Log message:
Don't take solock() in soreceive() for SOCK_RAW inet sockets.
For inet
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/11 02:33:37
Modified files:
sys/kern : sys_socket.c
Log message:
Take solock_shared() in soo_stat().
Only unix(4) and tcp(4) sockets set (*pru_sence)() handler. The rest of
soo_stat() is the
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/10 06:04:41
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c uipc_usrreq.c
sys/sys: socketvar.h
Log message:
Remove `head' socket re-locking in sonewconn().
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/02 06:21:40
Modified files:
sys/kern : uipc_socket.c
Log message:
Remove wrong "temporary udp error" comment in filt_so{read,write}(). Not
only udp(4) sockets set and check `so_error'.
No
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 08:01:28
Modified files:
sys/kern : uipc_socket.c
Log message:
Allow listen(2) only on sockets of type SOCK_STREAM or SOCK_SEQPACKET.
listen(2) man(1) page clearly prohibits sockets of
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/31 07:50:00
Modified files:
sys/kern : sys_socket.c uipc_socket.c uipc_socket2.c
sys/nfs: nfs_socket.c nfs_syscalls.c
Log message:
Mark `so_rcv' sockbuf of udp(4) sockets as
On Wed, Mar 27, 2024 at 11:35:01PM +0100, Alexander Bluhm wrote:
> On Thu, Mar 28, 2024 at 01:21:17AM +0300, Vitaliy Makkoveev wrote:
> > On Wed, Mar 27, 2024 at 10:51:09PM +0100, Alexander Bluhm wrote:
> > > On Wed, Mar 27, 2024 at 10:26:27PM +0300, Vitaliy Makkoveev wrote:
>
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/27 16:47:53
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/sys: socketvar.h
Log message:
Introduce SB_OWNLOCK to mark sockets which `so_rcv' buffer modified
On Wed, Mar 27, 2024 at 10:51:09PM +0100, Alexander Bluhm wrote:
> On Wed, Mar 27, 2024 at 10:26:27PM +0300, Vitaliy Makkoveev wrote:
> > On Wed, Mar 27, 2024 at 08:17:33AM +0100, Anton Lindqvist wrote:
> > >
> > > Observing two regress hangs in the kernel on
On Wed, Mar 27, 2024 at 08:17:33AM +0100, Anton Lindqvist wrote:
>
> Observing two regress hangs in the kernel on netio. Both seems make use
> of unix sockets. Could this be the culprit?
>
> regress/lib/libc/fread
> regress/usr.bin/ssh (scp.sh)
Sorry for delay.
It was exposed that `sb_mtx'
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/25 11:43:10
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
regen
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/25 11:42:34
Modified files:
sys/kern : syscalls.master
Log message:
Unlock shutdown(2).
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/25 07:01:49
Modified files:
sys/dev/wscons : wsevent.c wseventvar.h wskbd.c wsmouse.c
wsmux.c wstpad.c
Log message:
Add 'ws_' prefix to 'wseventvar' structure members. No
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/22 19:35:57
Modified files:
regress/sys/kern/unixsockets: unixsock_test.c
Log message:
Fix main() definition.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/22 11:34:11
Modified files:
sys/kern : uipc_socket.c uipc_usrreq.c
sys/sys: socketvar.h
Log message:
Use sorflush() instead of direct unp_scan(..., unp_discard) to discard
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/17 13:47:08
Modified files:
sys/kern : uipc_usrreq.c
Log message:
Do UNP_CONNECTING and UNP_BINDING flags check in uipc_listen() and
return EINVAL if set. This prevents concurrent solisten()
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/05 10:48:01
Modified files:
sys/net: if_wg.c wg_noise.c wg_noise.h
Log message:
Convert `t_lock', `r_keypair_lock' and `c_lock' rwlock(9)s to
corresponding mutex(9)es.
ifq_start() and
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/12 15:48:27
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/sys: socketvar.h
Log message:
Pass protosw instead of domain structure to soalloc() to get real
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/11 14:36:49
Modified files:
sys/kern : uipc_socket.c
Log message:
Release `sb_mtx' mutex(9) before sbunlock().
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/11 11:14:27
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/netinet: ip_divert.c ip_mroute.c raw_ip.c udp_usrreq.c
sys/netinet6 : ip6_divert.c ip6_mroute.c
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 13:21:39
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/nfs: nfs_socket.c nfs_syscalls.c
Log message:
Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 11:27:47
Modified files:
sys/net: if.c
Log message:
Don't send route messages while rebooting after panic. Syskaller exposed
[1] that if_downall() tries to send route messages and
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/03 15:50:09
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c uipc_syscalls.c
sys/miscfs/fifofs: fifo_vnops.c
sys/netinet: ip_divert.c ip_divert.h ip_var.h raw_ip.c
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/26 11:24:58
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
regen
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/26 11:24:23
Modified files:
sys/kern : syscalls.master uipc_socket.c
Log message:
Unlock listen(2). `somaxconn_local' and `sominconn_local' used
respectively to cache values as we do in other
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/23 09:57:53
Modified files:
sys/net: pipex.c pipex_local.h
Log message:
Remove `pipex_rd_head6' and `ps6_rn[2]'. They are not used.
ok yasuoka
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/18 01:48:33
Modified files:
sys/kern : kern_sysctl.c
Log message:
Use solock() instead of netlock within fill_file(). This makes all
socket types protected. The netlock is still used while
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/18 01:46:41
Modified files:
sys/net: if_wg.c
Log message:
Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9).
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/15 08:47:37
Modified files:
sys/kern : kern_exit.c kern_fork.c kern_proc.c
kern_sysctl.c
sys/sys: proc.h
Log message:
Introduce priterator(), the
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/03 18:32:06
Modified files:
sys/dev/pv : hypervic.c
Log message:
Revert previous. splx(9) can call kvp_get_ip_info() from any place with
netlock held and cause recursive lock acquisition issue.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/01 11:47:02
Modified files:
sys/net: if_gif.c if_mpe.c if_mpip.c if_wg.c
Log message:
Call if_counters_alloc() before if_attach().
ok bluhm sashan
> On 23 Dec 2023, at 13:15, Alexander Bluhm wrote:
>
> On Fri, Dec 22, 2023 at 04:01:50PM -0700, Vitaliy Makkoveev wrote:
>> CVSROOT: /cvs
>> Module name: src
>> Changes by: m...@cvs.openbsd.org2023/12/22 16:01:50
>>
>> Modified files:
>>
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/22 16:01:50
Modified files:
sys/net: if.c if_aggr.c if_bpe.c if_etherip.c if_gif.c
if_gre.c if_mpe.c if_mpip.c if_mpw.c if_pflow.c
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/19 13:34:10
Modified files:
sys/net: if_pflow.c
Log message:
Initialize `sc_outputtask' before interface attachment. if_alloc_sadl()
has sleep point, so the uninitialized `sc_outputtask`
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/16 15:17:08
Modified files:
sys/miscfs/fuse: fuse_device.c
Log message:
Make `fuse_rd_filtops' mpsafe.
Introduce `fd_lock' rwlock(9) and use it for `fd_fbufs_in' fuse buffers
queue and `fd_rklist'
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/16 15:16:02
Modified files:
sys/net: if_pflow.c if_pflow.h
Log message:
Rework pflowioctl() lock dances.
Release netlock and take `sc_lock' rwlock(9) just in the beginning of
pflowioctl()
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/12 05:38:52
Modified files:
sys/net: if_pflow.c
Log message:
slyle(9) fix. No functional changes.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/11 17:03:31
Modified files:
sys/net: if_pflow.c if_pflow.h
Log message:
Turn `pflowstats' statistics counters into per-CPU counters to make them
mpsafe.
The weird interactions around
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/11 07:25:09
Modified files:
sys/net: if_pflow.c if_pflow.h
Log message:
Turn `pflow_softc' list into SMR list.
Since the revision 1.1182 of net/pf.c netlock is not taken while
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/08 16:15:44
Modified files:
sys/net: if_pflow.c
Log message:
Add spaces around '='. style(9) fix, no functional changes.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/08 16:13:40
Modified files:
sys/net: if_pflow.c if_pflow.h
Log message:
Introduce `sc_mtx' mutex(9) to protect the most of pflow_softc
structure. Protect the `send_nam', `sc_flowsrc' and
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/03 03:51:17
Modified files:
sys/net: rtsock.c
Log message:
Make rtm_senddesync_timer() timeout(9) handler mpsafe. solock() protects
the socket and the socket's PCB data.
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/03 03:50:26
Modified files:
sys/netinet: ip_ipsp.c
Log message:
Make ipsp_ids_gc() timeout(9) handler mpsafe. `ipsec_flows_mtx' mutex(9)
protects related data.
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/12/01 13:30:22
Modified files:
sys/net: pipex.c
Log message:
pipex(4) layer is completely mp-safe, move the pipex_timer() timeout(9)
handler out of kernel lock.
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/11/09 01:53:20
Modified files:
sys/net: if_pflow.c
Log message:
Remove delayed timeout(9) initialization. timeout_set*() only assign
members of passed timeout structure, this delayed
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/25 03:36:47
Modified files:
sys/dev: vscsi.c
Log message:
Make `vscsi_filtops' mpsafe. filt_vscsiread() checks `sc_ccb_i2t'
protected by `sc_state_mtx' mutex(9), so use it to protect
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/23 04:22:06
Modified files:
sys/net: if_wg.c
Log message:
Prevent wg(4) stuck on peer destruction.
While interface going down and output stopped, packets could rest in
`if_snd' queue. So
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/05 12:46:14
Modified files:
usr.sbin/dhcpd : dhcpd.8 dhcpd.c
Log message:
Do log output to stderr while running dhcpd(8) in foreground to make
behaviour in accordance with man page. Introduce '-v'
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/26 13:55:24
Modified files:
sys/dev: midi.c midivar.h
Log message:
Use existing `audio_lock' mutex(9) to make `midi{read,write}_filtops' MP
safe. knote_locked(9) will not grab kernel lock,
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/26 02:30:13
Modified files:
sys/dev/pv : vmt.c
Log message:
Use shared netlock to protect ifnet data within vmt_tclo_broadcastip().
Execute vmt_tclo_tick() timeout handler in process context to
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/23 07:01:13
Modified files:
sys/dev/pv : hypervic.c
Log message:
Use shared netlock to protect if_list and ifa_list walkthrough and ifnet
data access within kvp_get_ip_info().
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/22 16:12:32
Modified files:
sys/dev: hotplug.c
Log message:
Introduce `hotplug_mtx' mutex(9) and make `hotplugread_filtops' MP safe.
Use this mutex(9) to protect `evqueue_head',
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/22 14:03:05
Modified files:
sys/kern : subr_log.c
Log message:
Make `logread_filterops' MP safe. For that purpose use `log_mtx' mutex(9)
protecting message buffer.
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/13 08:24:37
Modified files:
sys/dev/pci/drm/include/drm: drm_device.h
Log message:
Replace sys/selinfo.h header with sys/event.h. drm_device.h has no
selinfo stuff, but the `note' member of
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/11 06:10:47
Modified files:
sys/dev/ic : aac.c
Log message:
Remove unnecessary includes.
ok jsg
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/11 02:40:25
Modified files:
sys/dev/ic : aacvar.h
sys/dev/pci: aac_pci.c
Log message:
Kill unused `aac_select'. Build test performed with uncommented aac(4)
in GENERIC.
ok jsg
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/08 14:00:28
Modified files:
sys/dev: hotplug.c
sys/dev/wscons : wseventvar.h
sys/isofs/cd9660: cd9660_vnops.c
sys/miscfs/fuse: fuse_device.c fuse_vnops.c
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/01 14:24:29
Modified files:
sys/dev/usb: if_umb.c
Log message:
Call rtm_send() with netlock held to protect dereference of sockaddr
structure data returned by rtable_getsource(). Netlock can't
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/08 16:07:25
Modified files:
sys/kern : uipc_socket.c
Log message:
Merge SO_BINDANY cases from both switch blocks within sosetopt(). This
time SO_LINGER case is separated, so there is no reason
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/08 16:06:27
Modified files:
sys/kern : uipc_socket.c
Log message:
Merge SO_SND* with corresponding SO_RCV* cases within sosetopt(). The
only difference is the socket buffer.
As bonus, in the
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/03 03:49:09
Modified files:
sys/kern : uipc_socket.c uipc_syscalls.c
sys/net: bfd.c if_vxlan.c if_wg.c
sys/nfs: krpc_subr.c nfs_socket.c nfs_syscalls.c
Log
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/07/28 03:33:16
Modified files:
sys/net: rtsock.c
Log message:
Compare m_pullup(9) return value against NULL instead of 0.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/07/27 16:20:51
Modified files:
sys/net: rtsock.c
Log message:
Fix routing message size check in route_output(). `rtm_hdrlen' type is
u_short, so add sizeof(rtm->rtm_hdrlen) instead of 1 to its
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/07/22 08:30:39
Modified files:
sys/kern : uipc_socket.c
Log message:
Add `sb_state' output to sobuf_print(). It contains SS_CANTSENDMORE,
SS_ISSENDING, SS_CANTRCVMORE and SS_RCVATMARK bits. Also
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/07/12 10:10:45
Modified files:
sys/net: bfd.c
Log message:
Fix solock()/sounlock() usage.
This time solock() doesn't return value and sounlock() hasn't second
parameter. Bi-directional
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/07/04 16:28:24
Modified files:
sys/kern : uipc_socket.c uipc_socket2.c
sys/sys: socketvar.h
Log message:
Introduce SBL_WAIT and SBL_NOINTR sbwait() flags.
This refactoring is
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/06/30 05:52:11
Modified files:
sys/kern : uipc_socket.c
Log message:
Use "newcon" instead of "netlck" as identifier of the sleep reason while
awaiting concurrent sonewconn() threads termination.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/06/30 03:58:30
Modified files:
sys/net: pf_if.c pf_ioctl.c pf_ruleset.c
sys/sys: malloc.h
Log message:
Introduce M_PF type for pf(4) related memory allocations. Currently used
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/06/27 15:02:13
Modified files:
sys/net: if.c
sys/sys: malloc.h
Log message:
Introduce M_IFGROUP type of memory allocation. M_TEMP is unreasonable
for interface groups data
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/06/14 08:30:08
Modified files:
sys/netinet: ip_mroute.c
sys/netinet6 : ip6_mroute.c
Log message:
Add missing kernel lock around (*if_ioctl)().
ok bluhm
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/06/12 15:19:54
Modified files:
sys/net: if.c
Log message:
Move nd6_ifdetach() out of netlock. In this point, the interface is
disconnected from everywhere. No need to hold netlock for dummy
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/18 04:24:28
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
regen
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/18 04:23:19
Modified files:
sys/kern : kern_sysctl.c syscalls.master uipc_domain.c
Log message:
Backout sysctl(2) unlocking. Lock order issue was triggered in UVM
layer.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/18 03:59:44
Modified files:
sys/kern : uipc_domain.c
sys/netinet: in_proto.c ip_input.c
sys/sys: protosw.h
Log message:
Revert ip_sysctl() unlocking. Lock order
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/16 14:09:27
Modified files:
sys/kern : uipc_mbuf.c
Log message:
Always set maximum queue length to passed in the IFQCTL_MAXLEN case.
This is not the fast path, so dropping mq->mq_maxlen check
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/16 13:44:55
Modified files:
sys/sys: protosw.h
Log message:
Replace tab by space after #define in PR_* definitions.
ok bluhm@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/16 13:36:00
Modified files:
sys/kern : uipc_domain.c
sys/netinet: in_proto.c ip_input.c
sys/sys: protosw.h
Log message:
Introduce temporary PR_MPSYSCTL flag to
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/04 03:41:15
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
regen
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/04 03:40:36
Modified files:
sys/kern : kern_sysctl.c syscalls.master uipc_domain.c
Log message:
Push kernel lock deep down to sys_sysctl(). At least network subset of
sysctl(8) MIBs relies on
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/28 14:03:14
Modified files:
sys/dev/dt : dt_prov_static.c
sys/net: route.c
sys/sys: refcnt.h
Log message:
Add rtentry refcnt type to dt(4).
ok bluhm@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/27 08:41:09
Modified files:
sys/net: route.c
Log message:
Remove kernel lock from rtfree(9).
Route timers and route labels protected by corresponding mutexes. `ifa'
uses references counting
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/27 05:11:04
Modified files:
sys/net: route.c
Log message:
Add `rttimer_mtx' to the locking description.
No functional changes.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/26 13:54:35
Modified files:
sys/net: if.c pf_ioctl.c route.c route.h
Log message:
Introduce `rtlabel_mtx' mutex(9) to protect route labels storage. This
time kernel and net locks are held in
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/24 03:20:09
Modified files:
sys/kern : uipc_socket.c
Log message:
Don't check `so_sp' within sofree(). The following isspliced() and
issplicedback() already have this check.
ok bluhm@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/22 14:51:56
Modified files:
sys/net: pfkeyv2.c
sys/netinet: ip_spd.c
Log message:
Call pfkeyv2_sysctl_policydumper() with shared netlock. It performs
read-olny access to netlock
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/20 15:43:17
Modified files:
sys/net: rtsock.c
Log message:
Call sysctl_source() with shared netlock. It performs read-only
access to netlock protected data.
ok kn@ bluhm@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/18 16:01:24
Modified files:
sys/dev/usb: if_umb.c
sys/net: if.c if_var.h rtsock.c
Log message:
Remove kernel lock from ifa_ifwithaddr() and ifa_ifwithdstaddr().
Netlock protects
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/18 16:00:19
Modified files:
sys/net: if.c if_var.h
Log message:
Document `ifnetlist' locking.
We use both kernel and net lock for protect `ifnetlist'. This means we
do modification with
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/18 04:19:17
Modified files:
sys/net: art.h rtable.c
Log message:
Rename 'art_root' structure member `source' to `ar_source' to be in
accordance with all other 'art_root' structure members.
1 - 100 of 412 matches
Mail list logo