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 rdiff -u -r1.134 -r1.135 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.134 src/sys/net/if_wg.c:1.135
--- src/sys/net/if_wg.c:1.134 Fri Dec 27 15:55:19 2024
+++ src/sys/net/if_wg.c Fri Dec 27 16:42:28 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wg.c,v 1.134 2024/12/27 15:55:19 riastradh Exp $ */
+/* $NetBSD: if_wg.c,v 1.135 2024/12/27 16:42:28 riastradh Exp $ */
/*
* Copyright (C) Ryota Ozaki <[email protected]>
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.134 2024/12/27 15:55:19 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wg.c,v 1.135 2024/12/27 16:42:28 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_altq_enabled.h"
@@ -5497,7 +5497,7 @@ wg_send_hs_user(struct wg_peer *wgp, str
}
static int
-wg_send_hs_data(struct wg_peer *wgp, struct mbuf *m)
+wg_send_data_user(struct wg_peer *wgp, struct mbuf *m)
{
return wg_send_user(wgp, m, /*handshake*/false);