summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-07-05 18:32:02 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-07-05 18:32:02 +0200
commit7d3a63f4e88b4a7f54bfe72904ee33239bf0e620 (patch)
tree39e464f063abab8b2b4426239c1fa96ebc836ca5 /init
parent9b64495c6cd22cd65f118c18a36b2de7cbde4344 (diff)
pflocal: Fix referencing connection queue entries.
As asserted in connq_destroy, for each entry in the queue we are supposed to keep a reference to the socket that contains the queue. So we need to keep it when connecting and release it when accepting. * pflocal/socket.c (S_socket_connect): Do not deref the peer socket when sock_connect succeeded. (S_socket_accept): Deref the socket when the accept succeeded.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions