summaryrefslogtreecommitdiff
path: root/sys/net/if_trunk.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-11 03:12:37 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-11 03:12:37 +0000
commit45f1f5e66bb3f7bf317b9b6e9fd641b7b8d7fd61 (patch)
treef08b353d2ab202ce90dd9571164a3493225a67c2 /sys/net/if_trunk.c
parent3e7ee166688254d664fb4cf1dc14533ca875217a (diff)
splimp -> splnet
Diffstat (limited to 'sys/net/if_trunk.c')
-rw-r--r--sys/net/if_trunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_trunk.c b/sys/net/if_trunk.c
index cbbbff16fb2..09c042ba43f 100644
--- a/sys/net/if_trunk.c
+++ b/sys/net/if_trunk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_trunk.c,v 1.21 2006/03/04 22:40:16 brad Exp $ */
+/* $OpenBSD: if_trunk.c,v 1.22 2006/03/11 03:12:36 brad Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -253,7 +253,7 @@ trunk_port_lladdr(struct trunk_port *tp, u_int8_t *lladdr)
/* Reset the port to update the lladdr */
if (ifp->if_flags & IFF_UP) {
- int s = splimp();
+ int s = splnet();
ifp->if_flags &= ~IFF_UP;
(*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, (caddr_t)&ifr);
ifp->if_flags |= IFF_UP;