Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net fix ipsecif(4) unmatch curlwp_bind.
details: https://anonhg.NetBSD.org/src/rev/12004d716a99
branches: trunk
changeset: 321793:12004d716a99
user: knakahara <knakahara%NetBSD.org@localhost>
date: Fri Apr 06 09:28:26 2018 +0000
description:
fix ipsecif(4) unmatch curlwp_bind.
XXX pullup-8
diffstat:
sys/net/if_ipsec.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 955e891ecad8 -r 12004d716a99 sys/net/if_ipsec.c
--- a/sys/net/if_ipsec.c Fri Apr 06 09:24:13 2018 +0000
+++ b/sys/net/if_ipsec.c Fri Apr 06 09:28:26 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ipsec.c,v 1.8 2018/04/06 09:24:13 knakahara Exp $ */
+/* $NetBSD: if_ipsec.c,v 1.9 2018/04/06 09:28:26 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.8 2018/04/06 09:24:13 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ipsec.c,v 1.9 2018/04/06 09:28:26 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -637,6 +637,7 @@
error = if_ipsec_set_tunnel(&sc->ipsec_if, src, dst);
if (error)
goto bad;
+ curlwp_bindx(bound);
break;
case SIOCDIFPHYADDR:
@@ -769,6 +770,7 @@
error = if_ipsec_ensure_flags(&sc->ipsec_if, oflags);
if (error)
goto bad;
+ curlwp_bindx(bound);
}
break;
}
Home |
Main Index |
Thread Index |
Old Index