summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-10-03 11:09:39 +0000
committerrwatson <rwatson@FreeBSD.org>2005-10-03 11:09:39 +0000
commit2d9ef0269a70026a60fef6d99a7e43e7eacb2907 (patch)
tree63186fb2fc06ebc97c0f3a3ab1435d1369bb912e /sys/kern/kern_exec.c
parent6026f74dcd180b8c501980ab3251934e5709a291 (diff)
downloadFreeBSD-src-2d9ef0269a70026a60fef6d99a7e43e7eacb2907.zip
FreeBSD-src-2d9ef0269a70026a60fef6d99a7e43e7eacb2907.tar.gz
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
Diffstat (limited to 'sys/kern/kern_exec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud