Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Replace splnet with splsoftnet
details: https://anonhg.NetBSD.org/src/rev/43d76a525061
branches: trunk
changeset: 351429:43d76a525061
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Feb 13 04:05:58 2017 +0000
description:
Replace splnet with splsoftnet
diffstat:
sys/netinet/in_pcb.c | 8 ++++----
sys/netinet6/in6_pcb.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 5a7d21863443 -r 43d76a525061 sys/netinet/in_pcb.c
--- a/sys/netinet/in_pcb.c Mon Feb 13 04:05:19 2017 +0000
+++ b/sys/netinet/in_pcb.c Mon Feb 13 04:05:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_pcb.c,v 1.174 2017/01/23 09:14:24 ozaki-r Exp $ */
+/* $NetBSD: in_pcb.c,v 1.175 2017/02/13 04:05:58 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.174 2017/01/23 09:14:24 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.175 2017/02/13 04:05:58 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -212,7 +212,7 @@
}
#endif
so->so_pcb = inp;
- s = splnet();
+ s = splsoftnet();
TAILQ_INSERT_HEAD(&table->inpt_queue, &inp->inp_head, inph_queue);
LIST_INSERT_HEAD(INPCBHASH_PORT(table, inp->inp_lport), &inp->inp_head,
inph_lhash);
@@ -621,7 +621,7 @@
#endif
so->so_pcb = NULL;
- s = splnet();
+ s = splsoftnet();
in_pcbstate(inp, INP_ATTACHED);
LIST_REMOVE(&inp->inp_head, inph_lhash);
TAILQ_REMOVE(&inp->inp_table->inpt_queue, &inp->inp_head, inph_queue);
diff -r 5a7d21863443 -r 43d76a525061 sys/netinet6/in6_pcb.c
--- a/sys/netinet6/in6_pcb.c Mon Feb 13 04:05:19 2017 +0000
+++ b/sys/netinet6/in6_pcb.c Mon Feb 13 04:05:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_pcb.c,v 1.156 2017/01/23 09:14:24 ozaki-r Exp $ */
+/* $NetBSD: in6_pcb.c,v 1.157 2017/02/13 04:05:58 ozaki-r Exp $ */
/* $KAME: in6_pcb.c,v 1.84 2001/02/08 18:02:08 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_pcb.c,v 1.156 2017/01/23 09:14:24 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_pcb.c,v 1.157 2017/02/13 04:05:58 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -178,7 +178,7 @@
}
}
#endif /* IPSEC */
- s = splnet();
+ s = splsoftnet();
TAILQ_INSERT_HEAD(&table->inpt_queue, (struct inpcb_hdr*)in6p,
inph_queue);
LIST_INSERT_HEAD(IN6PCBHASH_PORT(table, in6p->in6p_lport),
@@ -627,7 +627,7 @@
#endif
so->so_pcb = NULL;
- s = splnet();
+ s = splsoftnet();
in6_pcbstate(in6p, IN6P_ATTACHED);
LIST_REMOVE(&in6p->in6p_head, inph_lhash);
TAILQ_REMOVE(&in6p->in6p_table->inpt_queue, &in6p->in6p_head,
Home |
Main Index |
Thread Index |
Old Index