diff options
-rw-r--r-- | sys/netnatm/natm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index 2b1b77a1b32..4e8639ce52d 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: natm.c,v 1.11 2009/05/31 19:17:20 claudio Exp $ */ +/* $OpenBSD: natm.c,v 1.12 2010/02/11 22:33:33 claudio Exp $ */ /* * @@ -213,7 +213,7 @@ int natm_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, s2 = splnet(); if (ifp->if_ioctl != NULL) ifp->if_ioctl(ifp, SIOCATMDIS, (caddr_t) &api); - splx(s); + splx(s2); npcb_free(npcb, NPCB_REMOVE); soisdisconnected(so); |