summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2015-07-21 09:54:31 +0000
committerrrs <rrs@FreeBSD.org>2015-07-21 09:54:31 +0000
commite4870a15db964e2a684550b8d1eb30c1087792a0 (patch)
tree6473dd1e338f98dc3ceee66dfc25a37d798fd7a1 /contrib/llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent7117e1104e17e73cd1e89f369a3e364a5ee8fabc (diff)
downloadFreeBSD-src-e4870a15db964e2a684550b8d1eb30c1087792a0.zip
FreeBSD-src-e4870a15db964e2a684550b8d1eb30c1087792a0.tar.gz
When a tunneling protocol is being used with UDP we must release the
lock on the INP before calling the tunnel protocol, else a LOR may occur (it does with SCTP for sure). Instead we must acquire a ref count and release the lock, taking care to allow for the case where the UDP socket has gone away and *not* unlocking since the refcnt decrement on the inp will do the unlock in that case. Reviewed by: tuexen MFC after: 3 weeks
Diffstat (limited to 'contrib/llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud