From 20e8807c09b963bde23e9290c38fa0f33eea6dc1 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 20 Mar 1995 18:31:51 +0000 Subject: [PATCH] This should be splimp() rather than splnet() since ifaddrs might go away as a result of link-layer processing. --- sys/netinet/ip_output.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 72f883d5e520..e4936ceed5f8 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 - * $Id: ip_output.c,v 1.13 1995/03/16 18:14:59 bde Exp $ + * $Id: ip_output.c,v 1.14 1995/03/20 18:11:31 wollman Exp $ */ #include @@ -852,7 +852,7 @@ ip_setmoptions(optname, imop, m) * IP address. Find the interface and confirm that * it supports multicasting. */ - s = splnet(); + s = splimp(); INADDR_TO_IFP(addr, ifp); if (ifp == NULL || (ifp->if_flags & IFF_MULTICAST) == 0) { error = EADDRNOTAVAIL; @@ -900,7 +900,7 @@ ip_setmoptions(optname, imop, m) error = EINVAL; break; } - s = splnet(); + s = splimp(); /* * If no interface address was provided, use the interface of * the route to the given multicast address. @@ -982,7 +982,7 @@ ip_setmoptions(optname, imop, m) break; } - s = splnet(); + s = splimp(); /* * If an interface address was specified, get a pointer * to its ifnet structure.