summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_var.h
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2008-05-24 14:51:30 +0000
committerlulf <lulf@FreeBSD.org>2008-05-24 14:51:30 +0000
commit0bf5a314d88ca0c5df2f71ef6beb6bc4067223f5 (patch)
tree236415ff1f2b33b277f193bd046392771ce6a318 /sys/netinet/sctp_var.h
parent197cf7b9ba868974b8a725176a65151c78822bea (diff)
downloadFreeBSD-src-0bf5a314d88ca0c5df2f71ef6beb6bc4067223f5.zip
FreeBSD-src-0bf5a314d88ca0c5df2f71ef6beb6bc4067223f5.tar.gz
- Add locking to all filesystem operations in fdescfs and flag it as MPSAFE.
- Use proper synhronization primitives to protect the internal fdesc node cache used in fdescfs. - Properly initialize and uninitalize hash. - Remove unused functions. Since fdescfs might recurse on itself, adding proper locking to it needed some tricky workarounds in some parts to make it work. For instance, a descriptor in fdescfs could refer to an open descriptor to itself, thus forcing the thread to recurse on vnode locks. Because of this, other race conditions also had to be fixed. Tested by: pho Reviewed by: kib (mentor) Approved by: kib (mentor)
Diffstat (limited to 'sys/netinet/sctp_var.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud