Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix PR kern/52920. Pointed out by David Binderman, t...
details: https://anonhg.NetBSD.org/src/rev/764c4a2de605
branches: trunk
changeset: 358724:764c4a2de605
user: knakahara <knakahara%NetBSD.org@localhost>
date: Mon Jan 15 02:39:53 2018 +0000
description:
Fix PR kern/52920. Pointed out by David Binderman, thanks.
diffstat:
sys/net/if_ipsec.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bb55f1ff8fef -r 764c4a2de605 sys/net/if_ipsec.c
--- a/sys/net/if_ipsec.c Mon Jan 15 00:46:16 2018 +0000
+++ b/sys/net/if_ipsec.c Mon Jan 15 02:39:53 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ipsec.c,v 1.1 2018/01/10 10:56:30 knakahara Exp $ */
+/* $NetBSD: if_ipsec.c,v 1.2 2018/01/15 02:39:53 knakahara Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ipsec.c,v 1.1 2018/01/10 10:56:30 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ipsec.c,v 1.2 2018/01/15 02:39:53 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1214,7 +1214,7 @@
struct psref psref;
KASSERT(encap_lock_held());
- KASSERT(var->iv_pdst != NULL && var->iv_pdst != NULL);
+ KASSERT(var->iv_psrc != NULL && var->iv_pdst != NULL);
mutex_enter(&ipsec_softcs.lock);
LIST_FOREACH(sc2, &ipsec_softcs.list, ipsec_list) {
Home |
Main Index |
Thread Index |
Old Index