Fix a potential lock-order-inversion in tcp listening code

66 jobs for !2737 with 1469-lock-order-inversion-tcp-listening in 12 minutes and 32 seconds (queued for 5 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed #464130
amd64 linux
🐞:sid:amd64

00:03:40

passed #464128
amd64 linux
autoreconf:sid:amd64

00:00:33

passed #464129
amd64 linux
misc:sid:amd64

00:00:17

 
  Build
passed #464143
amd64 linux
asan:sid:amd64

00:01:58

passed #464149
amd64 freebsd
clang:freebsd11.3:amd64

00:01:06

passed #464150
amd64 freebsd
clang:freebsd12.0:amd64

00:00:59

passed #464151
amd64 openbsd
clang:openbsd6.5:amd64

00:05:38

passed #464146
amd64 linux
clang:stretch:amd64

00:02:12

passed #464147
i386 linux
clang:stretch:i386

00:01:18

passed #464131
amd64 linux
gcc:alpine3.10:amd64

00:02:24

passed #464142
amd64 linux
gcc:bionic:amd64

00:01:50

passed #464137
amd64 linux
gcc:buster:amd64

00:01:36

passed #464132
amd64 linux
gcc:centos6:amd64

00:02:05

passed #464133
amd64 linux
gcc:centos7:amd64

00:01:32

passed #464134
amd64 linux
gcc:centos8:amd64

00:02:19

passed #464140
amd64 linux
gcc:fedora30:amd64

00:02:27

passed #464135
amd64 linux
gcc:jessie:amd64

00:01:13

passed #464138
amd64 linux
gcc:sid:amd64

00:02:05

passed #464139
i386 linux
gcc:sid:i386

00:01:01

passed #464136
amd64 linux
gcc:stretch:amd64

00:03:07

passed #464141
amd64 linux
gcc:xenial:amd64

00:01:50

passed #464153
amd64 windows
msvc:windows:amd64

00:03:16

passed #464145
amd64 linux
mutexatomics:sid:amd64

00:01:35

passed #464152
amd64 linux
nolibtool:sid:amd64

00:01:34

passed #464148
amd64 linux
pkcs11:sid:amd64

00:01:34

passed #464144
amd64 linux
rwlock:sid:amd64

00:01:48

 
  Unit
passed #464166
amd64 linux
unit:asan:sid:amd64

00:04:36

passed #464170
amd64 freebsd
unit:clang:freebsd11.3:amd64

00:00:29

passed #464171
amd64 freebsd
unit:clang:freebsd12.0:amd64

00:01:08

passed #464168
amd64 linux
unit:clang:stretch:amd64

00:00:52

passed #464154
amd64 linux
unit:gcc:alpine3.10:amd64

00:02:51

passed #464165
amd64 linux
unit:gcc:bionic:amd64

00:00:54

passed #464160
amd64 linux
unit:gcc:buster:amd64

00:01:20

passed #464155
amd64 linux
unit:gcc:centos6:amd64

00:01:03

passed #464156
amd64 linux
unit:gcc:centos7:amd64

00:00:59

passed #464157
amd64 linux
unit:gcc:centos8:amd64

00:00:54

passed #464163
amd64 linux
unit:gcc:fedora30:amd64

00:01:27

passed #464158
amd64 linux
unit:gcc:jessie:amd64

00:00:29

passed #464161
amd64 linux
unit:gcc:sid:amd64

00:01:33

passed #464162
i386 linux
unit:gcc:sid:i386

00:01:48

passed #464159
amd64 linux
unit:gcc:stretch:amd64

00:00:45

passed #464164
amd64 linux
unit:gcc:xenial:amd64

00:00:45

passed #464172
amd64 linux
unit:nolibtool:sid:amd64

00:01:45

passed #464169
amd64 linux
unit:pkcs11:sid:amd64

00:01:18

passed #464167
amd64 linux
unit:rwlock:sid:amd64

00:01:14

 
  System
passed #464185
amd64 linux
system:asan:sid:amd64

00:09:52

passed #464188
amd64 freebsd
system:clang:freebsd11.3:amd64

00:08:24

passed #464189
amd64 freebsd
system:clang:freebsd12.0:amd64

00:08:24

passed #464173
amd64 linux
system:gcc:alpine3.10:amd64

00:09:10

passed #464184
amd64 linux
system:gcc:bionic:amd64

00:07:55

passed #464179
amd64 linux
system:gcc:buster:amd64

00:07:25

passed #464174
amd64 linux
system:gcc:centos6:amd64

00:08:08

passed #464175
amd64 linux
system:gcc:centos7:amd64

00:07:09

passed #464176
amd64 linux
system:gcc:centos8:amd64

00:07:23

passed #464182
amd64 linux
system:gcc:fedora30:amd64

00:08:34

passed #464177
amd64 linux
system:gcc:jessie:amd64

00:07:08

passed #464180
amd64 linux
system:gcc:sid:amd64

00:07:55

passed #464181
i386 linux
system:gcc:sid:i386

00:09:21

passed #464178
amd64 linux
system:gcc:stretch:amd64

00:07:39

passed #464183
amd64 linux
system:gcc:xenial:amd64

00:07:43

passed #464190
amd64 linux
system:nolibtool:sid:amd64

00:09:09

passed #464187
amd64 linux
system:pkcs11:sid:amd64

00:08:30

passed #464186
amd64 linux
system:rwlock:sid:amd64

00:07:55

 
  Docs
passed #464191
amd64 linux
docs:sid:amd64

00:00:58

 
  Postcheck
passed #464193
amd64 linux
cppcheck:gcc:sid:amd64

00:01:50

passed #464192
amd64 linux
scan-build:buster:amd64

00:11:12