Module Name: src Committed By: riastradh Date: Sun Jul 28 14:48:13 UTC 2024
Modified Files: src/sys/net: if_wg.c Log Message: wg(4): Fix quotation in comment. Prompted by: PR kern/55729: net/if_wg/t_misc:wg_rekey test case fails PR kern/56252: wg(4) state machine has race conditions PR kern/58463: if_wg does not work when idle. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/net/if_wg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if_wg.c diff -u src/sys/net/if_wg.c:1.105 src/sys/net/if_wg.c:1.106 --- src/sys/net/if_wg.c:1.105 Sun Jul 28 14:47:58 2024 +++ src/sys/net/if_wg.c Sun Jul 28 14:48:13 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: if_wg.c,v 1.105 2024/07/28 14:47:58 riastradh Exp $ */ +/* $NetBSD: if_wg.c,v 1.106 2024/07/28 14:48:13 riastradh Exp $ */ /* * Copyright (C) Ryota Ozaki <ozaki.ry...@gmail.com> @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.105 2024/07/28 14:47:58 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.106 2024/07/28 14:48:13 riastradh Exp $"); #ifdef _KERNEL_OPT #include "opt_altq_enabled.h" @@ -3612,8 +3612,8 @@ wg_session_hit_limits(struct wg_session * [W] 6.2: Transport Message Limits * "After REJECT-AFTER-MESSAGES transport data messages or after the * current secure session is REJECT-AFTER-TIME seconds old, whichever - * comes first, WireGuard will refuse to send any more transport data - * messages using the current secure session, ..." + * comes first, WireGuard will refuse to send or receive any more + * transport data messages using the current secure session, ..." */ KASSERT(time_established != 0 || time_uptime > UINT32_MAX); if ((time_uptime32 - time_established) > wg_reject_after_time) {