diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-03-25 06:46:01 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-03-25 06:46:01 +0000 |
commit | d61a031c7a7c0368e715c815565fa37e5a15ff3a (patch) | |
tree | f76e233300a288a8d8aab05dda83a9332cd0ac77 /sys/netinet6/in6_prefix.c | |
parent | 54c077f967c2ef41359039034375733a3b73624f (diff) |
Missing splx. Thanks to dawson and team for finding this one
Diffstat (limited to 'sys/netinet6/in6_prefix.c')
-rw-r--r-- | sys/netinet6/in6_prefix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet6/in6_prefix.c b/sys/netinet6/in6_prefix.c index d1b57d9f34e..de02df1b43e 100644 --- a/sys/netinet6/in6_prefix.c +++ b/sys/netinet6/in6_prefix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_prefix.c,v 1.8 2001/02/08 14:51:22 itojun Exp $ */ +/* $OpenBSD: in6_prefix.c,v 1.9 2001/03/25 06:46:00 csapuntz Exp $ */ /* $KAME: in6_prefix.c,v 1.45 2001/02/08 11:33:32 itojun Exp $ */ /* @@ -952,8 +952,10 @@ delete_each_prefix(struct rr_prefix *rpp, u_char origin) s = splnet(); rap = LIST_FIRST(&rpp->rp_addrhead); - if (rap == NULL) + if (rap == NULL) { + splx(s); break; + } LIST_REMOVE(rap, ra_entry); splx(s); if (rap->ra_addr == NULL) { |