summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-10-03 11:34:29 +0000
committerrwatson <rwatson@FreeBSD.org>2005-10-03 11:34:29 +0000
commitdc2be3828898bb3809fe9fac9e2c94341fff2cb2 (patch)
treeb19916e0f3559699ec173dffb889f6f100465b68 /sys/netinet
parent2d9ef0269a70026a60fef6d99a7e43e7eacb2907 (diff)
downloadFreeBSD-src-dc2be3828898bb3809fe9fac9e2c94341fff2cb2.zip
FreeBSD-src-dc2be3828898bb3809fe9fac9e2c94341fff2cb2.tar.gz
Unlock Giant symmetrically with respect to lock acquire order as that's
generally nicer. Spotted by: johan MFC after: 1 week
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index 0f44ba8..84052a3 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -1044,8 +1044,8 @@ in_delmulti(inm)
if_delmulti(ifma->ifma_ifp, ifma->ifma_addr);
if (my_inm.inm_ifp != NULL)
igmp_leavegroup(&my_inm);
- IFF_UNLOCKGIANT(ifp);
IN_MULTI_UNLOCK();
+ IFF_UNLOCKGIANT(ifp);
}
/*
OpenPOWER on IntegriCloud