Amaury Denoyelle 76f47caacc MEDIUM: quic: implement refcount for quic_conn
Implement a refcount on quic_conn instance. By default, the refcount is
0. Two functions are implemented to manipulate it.
* qc_conn_take() which increments the refcount
* qc_conn_drop() which decrements it. If the refcount is 0 *BEFORE*
  the substraction, the instance is freed.

The refcount is incremented on retrieve_qc_conn_from_cid() or when
allocating a new quic_conn in qc_lstnr_pkt_rcv(). It is substracted most
notably by the xprt.close operation and at the end of
qc_lstnr_pkt_rcv(). The increments/decrements should be conducted under
the CID lock to guarantee thread-safety.
2021-12-23 16:06:07 +01:00
..
2021-11-05 07:48:38 +01:00
2021-05-08 12:29:51 +02:00
2021-09-17 17:22:05 +02:00
2021-11-08 12:08:26 +01:00
2021-11-08 08:05:39 +01:00
2021-11-08 12:08:26 +01:00
2021-11-08 12:08:26 +01:00
2021-11-08 08:05:39 +01:00
2021-11-05 07:48:38 +01:00
2021-11-08 12:08:26 +01:00
2021-09-23 15:27:25 +02:00
2021-11-08 12:08:26 +01:00