diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1995-03-20 18:31:51 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-03-20 18:31:51 +0000 |
commit | 20e8807c09b963bde23e9290c38fa0f33eea6dc1 (patch) | |
tree | fe6a36e7700f97eb2eb385ee670858b4c78126aa /sys/netinet/ip_output.c | |
parent | 9b626c29f75d5a29d54280e5e9908ed91ab4712f (diff) | |
download | src-20e8807c09b963bde23e9290c38fa0f33eea6dc1.tar.gz src-20e8807c09b963bde23e9290c38fa0f33eea6dc1.zip |
This should be splimp() rather than splnet() since ifaddrs might go away
as a result of link-layer processing.
Notes
Notes:
svn path=/head/; revision=7191
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 8 |
1 files 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 <sys/param.h> @@ -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. |