diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-01-18 12:19:50 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-01-18 12:19:50 +0000 |
commit | ba4fb8ac52b3b401d72c452359c6c3353af7013a (patch) | |
tree | 9f86cdb3f4c1162111d08e83ace89bed97d08823 /sys/dev/an/if_an.c | |
parent | 66dc6e9a4e6ae326b17b0629d482d43d9b82074f (diff) | |
download | FreeBSD-src-ba4fb8ac52b3b401d72c452359c6c3353af7013a.zip FreeBSD-src-ba4fb8ac52b3b401d72c452359c6c3353af7013a.tar.gz |
In tcp_ctloutput(), don't hold the inpcb lock over sooptcopyin(), rather,
drop the lock and then re-acquire it, revalidating TCP connection state
assumptions when we do so. This avoids a potential lock order reversal
(and potential deadlock, although none have been reported) due to the
inpcb lock being held over a page fault.
MFC after: 1 week
PR: 102752
Reviewed by: bz
Reported by: Václav Haisman <v dot haisman at sh dot cvut dot cz>
Diffstat (limited to 'sys/dev/an/if_an.c')
0 files changed, 0 insertions, 0 deletions