Re: CVS commit: src/sys/net

2025-04-16 Thread Ryota Ozaki
On Wed, Apr 16, 2025 at 9:25 PM Taylor R Campbell wrote: > > > Module Name:src > > Committed By: ozaki-r > > Date: Wed Apr 16 05:29:45 UTC 2025 > > > > Modified Files: > > src/sys/net: if_bridge.c > > > > Log Message: > > bridge: avoid a race condition on stopping callout >

Re: CVS commit: src/sys/net

2025-04-16 Thread Taylor R Campbell
> Module Name:src > Committed By: ozaki-r > Date: Wed Apr 16 05:29:45 UTC 2025 > > Modified Files: > src/sys/net: if_bridge.c > > Log Message: > bridge: avoid a race condition on stopping callout > > Without BRIDGE_LOCK, the callout can be scheduled after callout_halt. O

Re: CVS commit: src/sys/net/npf

2025-03-26 Thread Emmanuel Nyarko
When did it start causing panics ? Can I get a log of the crash ? > On 20 Mar 2025, at 9:49 AM, Paul Goyette wrote: > > Module Name: src > Committed By: pgoyette > Date: Thu Mar 20 09:49:02 UTC 2025 > > Modified Files: > src/sys/net/npf: npf_os.c > > Log Message: > Disable auto

Re: CVS commit: src/sys/net/npf

2025-03-20 Thread Paul Goyette
On Thu, 20 Mar 2025, Emmanuel Nyarko wrote: When did it start causing panics ? sometime between Feb 9 and March 19 Can I get a log of the crash ? No serial coonsole, but I did transcribe the backtrace: vpanic kern_assert spec_close VOP_CLOSE vn_clos

CVS commit: src/sys/net/npf

2025-03-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Mar 20 09:49:02 UTC 2025 Modified Files: src/sys/net/npf: npf_os.c Log Message: Disable autounload for the npf module, until we can figure out why it's causing panic during system startup. To generate a diff of this commit

CVS commit: src/sys/net/npf

2025-03-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Mar 20 09:49:02 UTC 2025 Modified Files: src/sys/net/npf: npf_os.c Log Message: Disable autounload for the npf module, until we can figure out why it's causing panic during system startup. To generate a diff of this commit

CVS commit: src/sys/net/npf

2025-02-07 Thread Emmanuel
Module Name:src Committed By: joe Date: Fri Feb 7 23:37:46 UTC 2025 Modified Files: src/sys/net/npf: npf_tableset.c Log Message: introduce a kernel boolean assertion to ensure the running thread holds the mutex To generate a diff of this commit: cvs rdiff -u -r1.42 -r1

CVS commit: src/sys/net/npf

2025-02-07 Thread Emmanuel
Module Name:src Committed By: joe Date: Fri Feb 7 23:37:46 UTC 2025 Modified Files: src/sys/net/npf: npf_tableset.c Log Message: introduce a kernel boolean assertion to ensure the running thread holds the mutex To generate a diff of this commit: cvs rdiff -u -r1.42 -r1

CVS commit: src/sys/net

2025-01-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 8 18:05:39 UTC 2025 Modified Files: src/sys/net: if_ppp.h Log Message: Remove PPP_FILTER ifdef. it has been renamed in the new pppd and we should not be hiding ioctls anyway. To generate a diff of this commit: cvs rdi

CVS commit: src/sys/net

2025-01-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 8 18:05:39 UTC 2025 Modified Files: src/sys/net: if_ppp.h Log Message: Remove PPP_FILTER ifdef. it has been renamed in the new pppd and we should not be hiding ioctls anyway. To generate a diff of this commit: cvs rdi

CVS commit: src/sys/net

2024-12-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 27 16:42:28 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix thinko in previous. Should unbreak the rump build. PR kern/58938: wg tunnel dies after a few days To generate a diff of this commit:

CVS commit: src/sys/net

2024-12-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 27 16:42:28 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix thinko in previous. Should unbreak the rump build. PR kern/58938: wg tunnel dies after a few days To generate a diff of this commit:

CVS commit: src/sys/net

2024-12-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 27 15:55:19 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Add debug log for which address we send handshake msgs to. Maybe this will help to diagnose: PR kern/58938: wg tunnel dies after a few days

CVS commit: src/sys/net

2024-12-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Dec 27 15:55:19 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Add debug log for which address we send handshake msgs to. Maybe this will help to diagnose: PR kern/58938: wg tunnel dies after a few days

CVS commit: src/sys/net

2024-12-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 16 05:21:24 UTC 2024 Modified Files: src/sys/net: if_bridge.c Log Message: bridge: unify frame discarding paths (NFC) To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196 src/sys/net/if_bridge.c Please note

CVS commit: src/sys/net

2024-12-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 16 05:21:24 UTC 2024 Modified Files: src/sys/net: if_bridge.c Log Message: bridge: unify frame discarding paths (NFC) To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196 src/sys/net/if_bridge.c Please note

CVS commit: src/sys/net

2024-12-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 16 05:20:31 UTC 2024 Modified Files: src/sys/net: if_bridge.c Log Message: bridge: remove redundant IFF_RUNNING check It has been done in bridge_input, so doing in bridge_forward is redundant and yet racy. Also it fixes

CVS commit: src/sys/net

2024-12-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 16 05:20:31 UTC 2024 Modified Files: src/sys/net: if_bridge.c Log Message: bridge: remove redundant IFF_RUNNING check It has been done in bridge_input, so doing in bridge_forward is redundant and yet racy. Also it fixes

CVS commit: src/sys/net

2024-12-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 16 05:18:37 UTC 2024 Modified Files: src/sys/net: if.c Log Message: if: add counts of packet drops on if_percpuq to if_iqdrops So packets dropped on if_percpuq appear in ifconfig -v. To generate a diff of this commit:

CVS commit: src/sys/net

2024-12-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 16 05:18:37 UTC 2024 Modified Files: src/sys/net: if.c Log Message: if: add counts of packet drops on if_percpuq to if_iqdrops So packets dropped on if_percpuq appear in ifconfig -v. To generate a diff of this commit:

CVS commit: src/sys/net

2024-11-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 28 15:35:27 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Avoid spurious kassert for harmless race in session retry. If we have already transitioned away from INIT_ACTIVE by the time the retry timer

CVS commit: src/sys/net

2024-11-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 28 15:35:27 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Avoid spurious kassert for harmless race in session retry. If we have already transitioned away from INIT_ACTIVE by the time the retry timer

CVS commit: src/sys/net

2024-11-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Nov 10 10:57:52 UTC 2024 Modified Files: src/sys/net: if_tap.c Log Message: Add MBUFTRACE To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/net/if_tap.c Please note that diffs are not public domain; t

CVS commit: src/sys/net

2024-11-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Nov 10 10:57:52 UTC 2024 Modified Files: src/sys/net: if_tap.c Log Message: Add MBUFTRACE To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/net/if_tap.c Please note that diffs are not public domain; t

CVS commit: src/sys/net

2024-10-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 20 14:03:52 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: MBUFTRACE To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/sys/net/bpf.c Please note that diffs are not public domain; they are su

CVS commit: src/sys/net

2024-10-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 20 14:03:52 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: MBUFTRACE To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/sys/net/bpf.c Please note that diffs are not public domain; they are su

CVS commit: src/sys/net

2024-09-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Sep 28 09:03:14 UTC 2024 Modified Files: src/sys/net: if_ethersubr.c Log Message: count illegal slow protocol subtype as protocol error instead of generic error. To generate a diff of this commit: cvs rdiff -u -r1.328 -r1.3

CVS commit: src/sys/net

2024-09-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Sep 28 09:03:14 UTC 2024 Modified Files: src/sys/net: if_ethersubr.c Log Message: count illegal slow protocol subtype as protocol error instead of generic error. To generate a diff of this commit: cvs rdiff -u -r1.328 -r1.3

CVS commit: src/sys/net

2024-09-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Sep 28 09:01:37 UTC 2024 Modified Files: src/sys/net: if_ethersubr.c Log Message: comment, whitespace. To generate a diff of this commit: cvs rdiff -u -r1.327 -r1.328 src/sys/net/if_ethersubr.c Please note that diffs are n

CVS commit: src/sys/net

2024-09-28 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Sep 28 09:01:37 UTC 2024 Modified Files: src/sys/net: if_ethersubr.c Log Message: comment, whitespace. To generate a diff of this commit: cvs rdiff -u -r1.327 -r1.328 src/sys/net/if_ethersubr.c Please note that diffs are n

CVS commit: src/sys/net/lagg

2024-09-25 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 26 06:08:24 UTC 2024 Modified Files: src/sys/net/lagg: if_laggproto.c Log Message: lagg: fill name of workqueue correctly Found by KASSERT failure for DIAGNOSTIC kernel. Authored by ozaki-r@. To generate a diff of this co

CVS commit: src/sys/net/lagg

2024-09-25 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 26 06:08:24 UTC 2024 Modified Files: src/sys/net/lagg: if_laggproto.c Log Message: lagg: fill name of workqueue correctly Found by KASSERT failure for DIAGNOSTIC kernel. Authored by ozaki-r@. To generate a diff of this co

CVS commit: src/sys/net

2024-09-22 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Sep 22 08:21:33 UTC 2024 Modified Files: src/sys/net: if.h Log Message: s/remvoed/removed/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.305 -r1.306 src/sys/net/if.h Please note that diffs are not public d

CVS commit: src/sys/net

2024-09-22 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Sep 22 08:21:33 UTC 2024 Modified Files: src/sys/net: if.h Log Message: s/remvoed/removed/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.305 -r1.306 src/sys/net/if.h Please note that diffs are not public d

CVS commit: src/sys/net

2024-09-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 18 23:20:20 UTC 2024 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Mark tunread_filtops `FILTEROP_MPSAFE` Filter handlers have already been MP-safe since 2018: https://mail-index.netbsd.org/source-changes/2018/0

CVS commit: src/sys/net

2024-09-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 18 23:20:20 UTC 2024 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Mark tunread_filtops `FILTEROP_MPSAFE` Filter handlers have already been MP-safe since 2018: https://mail-index.netbsd.org/source-changes/2018/0

CVS commit: src/sys/net

2024-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 15 09:46:45 UTC 2024 Modified Files: src/sys/net: if_gif.c Log Message: Drop locks before freeing unreferenced memory in gif_set_tunnel To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/sys/net/if_gif.c

CVS commit: src/sys/net

2024-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 15 09:46:45 UTC 2024 Modified Files: src/sys/net: if_gif.c Log Message: Drop locks before freeing unreferenced memory in gif_set_tunnel To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/sys/net/if_gif.c

CVS commit: src/sys/net

2024-09-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Sep 15 08:33:13 UTC 2024 Modified Files: src/sys/net: ether_sw_offload.c Log Message: s/chanks/chunks/ and s/chekcsum/checksum/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net/ether_sw_off

CVS commit: src/sys/net

2024-09-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Sep 15 08:33:13 UTC 2024 Modified Files: src/sys/net: ether_sw_offload.c Log Message: s/chanks/chunks/ and s/chekcsum/checksum/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net/ether_sw_off

CVS commit: src/sys/net

2024-09-03 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Sep 3 07:59:48 UTC 2024 Modified Files: src/sys/net: if_bridge.c if_bridgevar.h Log Message: bridge: implement interface protection It enables a feature similar to "protected-port" or "isolation" in some router products by

CVS commit: src/sys/net

2024-09-03 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Sep 3 07:59:48 UTC 2024 Modified Files: src/sys/net: if_bridge.c if_bridgevar.h Log Message: bridge: implement interface protection It enables a feature similar to "protected-port" or "isolation" in some router products by

CVS commit: src/sys/net

2024-09-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 2 15:34:08 UTC 2024 Modified Files: src/sys/net: bpf_filter.c dlt.h Log Message: merge changes from libpcap-1.10.5 To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/net/bpf_filter.c cvs rdiff -u -r

CVS commit: src/sys/net

2024-09-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 2 15:34:08 UTC 2024 Modified Files: src/sys/net: bpf_filter.c dlt.h Log Message: merge changes from libpcap-1.10.5 To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/net/bpf_filter.c cvs rdiff -u -r

CVS commit: src/sys/net

2024-08-19 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Aug 19 07:47:16 UTC 2024 Modified Files: src/sys/net: bpf.c bpfdesc.h Log Message: bpf: protect selnotify and selrecord with bd_buf_mtx We have to make updates and checks of buffers and calls of selnotify/selrecord atomic to

CVS commit: src/sys/net

2024-08-19 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Aug 19 07:47:16 UTC 2024 Modified Files: src/sys/net: bpf.c bpfdesc.h Log Message: bpf: protect selnotify and selrecord with bd_buf_mtx We have to make updates and checks of buffers and calls of selnotify/selrecord atomic to

CVS commit: src/sys/net

2024-08-19 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Aug 19 07:45:31 UTC 2024 Modified Files: src/sys/net: bpf.c bpfdesc.h Log Message: bpf: restore wakeup softint This change fixes the issue that fownsignal which can take an adaptive mutex is called inside a pserialize read s

CVS commit: src/sys/net

2024-08-19 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Aug 19 07:45:31 UTC 2024 Modified Files: src/sys/net: bpf.c bpfdesc.h Log Message: bpf: restore wakeup softint This change fixes the issue that fownsignal which can take an adaptive mutex is called inside a pserialize read s

CVS commit: src/sys/net

2024-08-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 18 12:35:47 UTC 2024 Modified Files: src/sys/net: if_tap.c Log Message: if_tap: Explicitly include "opt_net_mpsafe.h", NFC because it was included via anyway. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.13

CVS commit: src/sys/net

2024-08-18 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 18 12:35:47 UTC 2024 Modified Files: src/sys/net: if_tap.c Log Message: if_tap: Explicitly include "opt_net_mpsafe.h", NFC because it was included via anyway. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.13

CVS commit: src/sys/net

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 11:23:39 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: bpf(4): KNF whitespace fixes. No functional change intended. Preparation for: kern/58596: bpf(4) MP-safety issues To generate a diff of this comm

CVS commit: src/sys/net

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 11:23:39 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: bpf(4): KNF whitespace fixes. No functional change intended. Preparation for: kern/58596: bpf(4) MP-safety issues To generate a diff of this comm

CVS commit: src/sys/net

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 11:23:29 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: bpf(4): Sort includes. No functional change intended. Preparation for: kern/58596: bpf(4) MP-safety issues To generate a diff of this commit: cvs

CVS commit: src/sys/net

2024-08-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 15 11:23:29 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: bpf(4): Sort includes. No functional change intended. Preparation for: kern/58596: bpf(4) MP-safety issues To generate a diff of this commit: cvs

CVS commit: src/sys/net

2024-08-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 15 02:22:46 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: bpf: Mark bpfread_filtops FILTEROP_MPSAFE Fix deadlock for non-NET_MPSAFE kernel, reported as PR kern/58531 (thanks manu@ for test). I've confirmed that t

CVS commit: src/sys/net

2024-08-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 15 02:22:46 UTC 2024 Modified Files: src/sys/net: bpf.c Log Message: bpf: Mark bpfread_filtops FILTEROP_MPSAFE Fix deadlock for non-NET_MPSAFE kernel, reported as PR kern/58531 (thanks manu@ for test). I've confirmed that t

CVS commit: src/sys/net

2024-07-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jul 31 00:26:02 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Add Internet Archive links for the versions cited. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 s

CVS commit: src/sys/net

2024-07-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jul 31 00:26:02 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Add Internet Archive links for the versions cited. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 s

CVS commit: src/sys/net

2024-07-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jul 31 00:25:47 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Make a rule for who wins when both peers send INIT at once. The rule is that the peer with the numerically smaller public key hash, in littl

CVS commit: src/sys/net

2024-07-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jul 31 00:25:47 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Make a rule for who wins when both peers send INIT at once. The rule is that the peer with the numerically smaller public key hash, in littl

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:47:13 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle volatile on variables requiring atomic access. No functional change intended, since the relevant access is always done with atomic_

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:47:13 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle volatile on variables requiring atomic access. No functional change intended, since the relevant access is always done with atomic_

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:47:00 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): When a session is established, send first packet directly. Like we would do with the keepalive packet, if we had to send that instead -- no

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:47:00 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): When a session is established, send first packet directly. Like we would do with the keepalive packet, if we had to send that instead -- no

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:46:25 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Queue packet for post-handshake retransmit if limits are hit. PR kern/58521: experimental wg(4) may drop packet after minutes of quiet To

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:46:25 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Queue packet for post-handshake retransmit if limits are hit. PR kern/58521: experimental wg(4) may drop packet after minutes of quiet To

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:45:56 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Trigger session initiation in wgintr, not in wg_output. We have to look up the session in wgintr anyway, for wg_send_data_msg. By triggerin

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:45:56 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Trigger session initiation in wgintr, not in wg_output. We have to look up the session in wgintr anyway, for wg_send_data_msg. By triggerin

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:44:23 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Add missing barriers around wgp_pending access. PR kern/58520: experimental wg(4) lacks barriers around access to packet pending initiation

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:44:23 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Add missing barriers around wgp_pending access. PR kern/58520: experimental wg(4) lacks barriers around access to packet pending initiation

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:43:56 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Force rekey on tx if session is older than reject-after-time. One more corner case for: PR kern/55729: net/if_wg/t_misc:wg_rekey test case

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 19:43:56 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Force rekey on tx if session is older than reject-after-time. One more corner case for: PR kern/55729: net/if_wg/t_misc:wg_rekey test case

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 18:43:11 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Read wgs_state atomically in wg_get_stable_session. As noted in the comment above, it may concurrently transition from ESTABLISHED to DESTRO

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 18:43:11 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Read wgs_state atomically in wg_get_stable_session. As noted in the comment above, it may concurrently transition from ESTABLISHED to DESTRO

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:02:05 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Deduplicate session establishment actions. The actions to (a) record the last handshake time, (b) clear some handshake state, (c) transmit

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:02:05 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Deduplicate session establishment actions. The actions to (a) record the last handshake time, (b) clear some handshake state, (c) transmit

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:01:32 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle comments on internal sliding window API. Post-fix tidying for: PR kern/58480: experimental wg(4) sliding window logic has oopsie

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:01:32 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle comments on internal sliding window API. Post-fix tidying for: PR kern/58480: experimental wg(4) sliding window logic has oopsie

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:01:13 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Omit needless atomic_load. wgs_local_index is only ever written to while only one thread has access to it and it is not in the thmap -- befo

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:01:13 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Omit needless atomic_load. wgs_local_index is only ever written to while only one thread has access to it and it is not in the thmap -- befo

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:00:41 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix typo in comment recently added. Comment added in the service of: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fails PR kern/56252

CVS commit: src/sys/net

2024-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 16:00:41 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix typo in comment recently added. Comment added in the service of: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fails PR kern/56252

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:34:27 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix memory ordering in detach. PR kern/58510: experimental wg(4) lacks memory ordering between wg_count_dec and module unload To generate

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:34:27 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix memory ordering in detach. PR kern/58510: experimental wg(4) lacks memory ordering between wg_count_dec and module unload To generate

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:33:58 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): No need for atomic access to wgs_time_established in tx/rx. This is stable while the session is visible to the tx/rx paths -- it is initiali

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:33:58 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): No need for atomic access to wgs_time_established in tx/rx. This is stable while the session is visible to the tx/rx paths -- it is initiali

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:33:44 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle comments into wg_swap_sessions. No functional change intended. Prompted by: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fa

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:33:44 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle comments into wg_swap_sessions. No functional change intended. Prompted by: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fa

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:33:27 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Queue pending packet in FIFO order, not LIFO order. Sometimes the session takes a seconds to establish, for whatever reason. It is better i

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:33:27 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Queue pending packet in FIFO order, not LIFO order. Sometimes the session takes a seconds to establish, for whatever reason. It is better i

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:29:12 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle static on fixed-size array parameters. Let's make the static size declarations useful. No functional change intended. To generat

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:29:12 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Sprinkle static on fixed-size array parameters. Let's make the static size declarations useful. No functional change intended. To generat

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:28:58 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Put force_rekey state in the session, not the peer. That way, there is a time when one thread has exclusive access to the state, in wg_destr

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 29 02:28:58 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Put force_rekey state in the session, not the peer. That way, there is a time when one thread has exclusive access to the state, in wg_destr

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 28 14:55:30 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Explain why gethexdump/puthexdump is there, and tidy. This way I will not be tempted to replace it by in-line calls to libkern hexdump. PR

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 28 14:55:30 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Explain why gethexdump/puthexdump is there, and tidy. This way I will not be tempted to replace it by in-line calls to libkern hexdump. PR

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 28 14:50:31 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Delete temporary hacks to dump keys and packets. No longer useful for: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fails PR kern/562

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 28 14:50:31 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Delete temporary hacks to dump keys and packets. No longer useful for: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fails PR kern/562

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 28 14:50:05 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Parenthesize macro expansions properly. PR kern/58480: experimental wg(4) sliding window logic has oopsie To generate a diff of this commi

CVS commit: src/sys/net

2024-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 28 14:50:05 UTC 2024 Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Parenthesize macro expansions properly. PR kern/58480: experimental wg(4) sliding window logic has oopsie To generate a diff of this commi

  1   2   3   4   5   6   7   8   9   10   >