Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Mark key_timehandler_ch callout as MP-safe (jus...
details: https://anonhg.NetBSD.org/src/rev/d6e06f91900f
branches: trunk
changeset: 827679:d6e06f91900f
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Nov 08 10:35:30 2017 +0000
description:
Mark key_timehandler_ch callout as MP-safe (just forgot to do so)
diffstat:
sys/netipsec/key.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b7a143d9d98e -r d6e06f91900f sys/netipsec/key.c
--- a/sys/netipsec/key.c Wed Nov 08 08:41:13 2017 +0000
+++ b/sys/netipsec/key.c Wed Nov 08 10:35:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: key.c,v 1.234 2017/10/03 08:56:52 ozaki-r Exp $ */
+/* $NetBSD: key.c,v 1.235 2017/11/08 10:35:30 ozaki-r Exp $ */
/* $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $ */
/* $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.234 2017/10/03 08:56:52 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.235 2017/11/08 10:35:30 ozaki-r Exp $");
/*
* This code is referred to RFC 2367
@@ -8106,7 +8106,7 @@
pfkeystat_percpu = percpu_alloc(sizeof(uint64_t) * PFKEY_NSTATS);
- callout_init(&key_timehandler_ch, 0);
+ callout_init(&key_timehandler_ch, CALLOUT_MPSAFE);
error = workqueue_create(&key_timehandler_wq, "key_timehandler",
key_timehandler_work, NULL, PRI_SOFTNET, IPL_SOFTNET, WQ_MPSAFE);
if (error != 0)
Home |
Main Index |
Thread Index |
Old Index