Frédéric Lécaille 2ce5acf7ed MINOR: quic: Wrong packet refcount handling in qc_pkt_insert()
The QUIC connection I/O handler qc_conn_io_cb() could be called just after
qc_pkt_insert() have inserted a packet in a its tree, and before qc_pkt_insert()
have incremented the reference counter to this packet. As qc_conn_io_cb()
decrement this counter, the packet could be released before qc_pkt_insert()
might increment the counter, leading to possible crashes when trying to do so.
So, let's make qc_pkt_insert() increment this counter before inserting the packet
it is tree. No need to lock anything for that.
2021-12-20 17:33:51 +01:00
..
2021-11-05 07:48:38 +01:00
2021-05-08 12:29:51 +02:00
2020-09-25 17:54:48 +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