Date: Mon, 3 Oct 2005 11:09:40 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in.c Message-ID: <200510031109.j93B9exq062614@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-10-03 11:09:40 UTC FreeBSD src repository Modified files: sys/netinet in.c Log: Acquire Giant conditionally in in_addmulti() and in_delmulti() based on whether the interface being accessed is IFF_NEEDSGIANT or not. This avoids lock order reversals when calling into the interface ioctl handler, which could potentially lead to deadlock. The long term solution is to eliminate non-MPSAFE network drivers. Discussed with: jhb MFC after: 1 week Revision Changes Path 1.89 +9 -0 src/sys/netinet/in.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510031109.j93B9exq062614>