Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 protect router list management by splsoftnet pr...
details: https://anonhg.NetBSD.org/src/rev/c547ea7cbbfa
branches: trunk
changeset: 503673:c547ea7cbbfa
user: itojun <itojun%NetBSD.org@localhost>
date: Sun Feb 11 07:12:01 2001 +0000
description:
protect router list management by splsoftnet properly. sync with kame
diffstat:
sys/netinet6/nd6_rtr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 4703cb152db4 -r c547ea7cbbfa sys/netinet6/nd6_rtr.c
--- a/sys/netinet6/nd6_rtr.c Sun Feb 11 07:04:20 2001 +0000
+++ b/sys/netinet6/nd6_rtr.c Sun Feb 11 07:12:01 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6_rtr.c,v 1.20 2001/02/07 08:59:49 itojun Exp $ */
+/* $NetBSD: nd6_rtr.c,v 1.21 2001/02/11 07:12:01 itojun Exp $ */
/* $KAME: nd6_rtr.c,v 1.95 2001/02/07 08:09:47 itojun Exp $ */
/*
@@ -804,7 +804,6 @@
s = splsoftnet();
/* unlink ndpr_entry from nd_prefix list */
LIST_REMOVE(pr, ndpr_entry);
- splx(s);
/* free list of routers that adversed the prefix */
for (pfr = pr->ndpr_advrtrs.lh_first; pfr; pfr = next) {
@@ -812,6 +811,8 @@
free(pfr, M_IP6NDP);
}
+ splx(s);
+
free(pr, M_IP6NDP);
pfxlist_onlink_check();
Home |
Main Index |
Thread Index |
Old Index