diff options
author | rrs <rrs@FreeBSD.org> | 2015-07-21 09:54:31 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2015-07-21 09:54:31 +0000 |
commit | e4870a15db964e2a684550b8d1eb30c1087792a0 (patch) | |
tree | 6473dd1e338f98dc3ceee66dfc25a37d798fd7a1 /contrib/llvm/lib/CodeGen/InterferenceCache.cpp | |
parent | 7117e1104e17e73cd1e89f369a3e364a5ee8fabc (diff) | |
download | FreeBSD-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/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions