A patch which fixes a similar problem in the p0f code:
Do not share the p0fsock descriptor between several threads because
resulting the connect - write - read - close sequence is racy. p0f
protocol allows one query per connection only, so this patch allocates
and frees a local socket per connection.
Do not share the p0fsock descriptor between several threads because
resulting the connect - write - read - close sequence is racy. p0f
protocol allows one query per connection only, so this patch allocates
and frees a local socket per connection.