Frdric Lcaille
bbf86be996
BUG/MEDIUM: quic: Missing TX buffer draining from qc_send_ppkts()
...
If the TX buffer (->tx.buf) attached to the connection is not drained, there
are chances that this will be detected by qc_txb_release() which triggers
a BUG_ON_HOT() when this is the case as follows
[00|quic|2|c_conn.c:3477] UDP port unreachable : qc@0x5584f18d6d50 pto_count=0 cwnd=6816 ppif=1046 pif=1046
[00|quic|5|ic_conn.c:749] qc_kill_conn(): entering : qc@0x5584f18d6d50
[00|quic|5|ic_conn.c:752] qc_kill_conn(): leaving : qc@0x5584f18d6d50
[00|quic|5|c_conn.c:3532] qc_send_ppkts(): leaving : qc@0x5584f18d6d50 pto_count=0 cwnd=6816 ppif=1046 pif=1046
FATAL: bug condition "buf && b_data(buf)" matched at src/quic_conn.c:3098
Consume the remaining data in the TX buffer calling b_del().
This bug arrived with this commit:
a2c62c314 MINOR: quic: Kill the connections on ICMP (port unreachable) packet receipt
Takes also the opportunity of this patch to modify the comments for qc_send_ppkts()
which should have arrived with a2c62c314 commit.
Must be backported to 2.7 where this latter commit is supposed to be backported.
2023-02-21 11:06:10 +01:00
..
2022-11-14 11:14:02 +01:00
2023-02-08 11:06:55 +01:00
2023-01-09 18:41:08 +01:00
2022-11-22 16:27:52 +01:00
2022-11-24 15:24:02 +01:00
2023-01-09 18:41:08 +01:00
2023-02-08 11:10:33 +01:00
2022-06-23 11:49:09 +02:00
2023-02-17 10:17:02 +01:00
2023-01-27 15:18:59 +01:00
2023-02-03 11:56:46 +01:00
2023-02-16 16:03:45 +01:00
2023-02-03 18:00:20 +01:00
2022-04-26 10:59:48 +02:00
2023-02-16 16:14:37 +01:00
2023-01-09 18:41:08 +01:00
2022-12-07 17:04:08 +01:00
2022-08-17 10:45:22 +02:00
2023-02-03 18:00:21 +01:00
2023-02-08 11:10:33 +01:00
2023-01-25 15:30:49 +01:00
2022-07-15 19:43:10 +02:00
2023-01-19 19:22:17 +01:00
2023-01-09 18:41:08 +01:00
2022-10-30 17:17:56 +01:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-09 11:15:22 +02:00
2022-07-15 20:16:30 +02:00
2022-12-06 10:22:07 +01:00
2022-10-12 21:49:30 +02:00
2023-01-27 15:18:59 +01:00
2022-12-09 12:23:14 +01:00
2023-01-19 19:22:17 +01:00
2023-02-03 18:00:20 +01:00
2023-02-13 09:43:38 +01:00
2022-11-14 11:14:02 +01:00
2023-02-13 11:37:27 +01:00
2022-12-14 10:44:17 +01:00
2022-05-27 19:33:35 +02:00
2023-01-13 11:51:11 +01:00
2023-02-14 08:48:54 +01:00
2022-12-14 11:34:18 +01:00
2022-05-30 09:59:26 +02:00
2023-02-20 11:18:25 +01:00
2023-02-17 17:17:28 +01:00
2022-11-14 11:14:02 +01:00
2022-10-12 14:19:05 +02:00
2023-01-13 11:51:11 +01:00
2023-02-14 08:48:54 +01:00
2023-01-26 11:36:39 +01:00
2023-02-17 16:25:00 +01:00
2023-01-06 16:42:24 +01:00
2023-02-17 10:17:02 +01:00
2022-12-22 15:39:31 +01:00
2023-01-30 15:14:08 +01:00
2023-01-13 11:51:11 +01:00
2023-01-27 15:18:59 +01:00
2022-12-14 11:34:18 +01:00
2023-02-03 13:39:18 +01:00
2023-01-20 10:27:37 +01:00
2023-02-03 18:00:21 +01:00
2023-02-03 18:00:20 +01:00
2022-06-08 15:28:38 +02:00
2023-01-09 18:41:08 +01:00
2023-01-18 07:53:05 +01:00
2023-02-13 09:43:38 +01:00
2023-02-20 17:22:03 +01:00
2022-11-17 14:33:15 +01:00
2023-02-20 11:20:18 +01:00
2023-02-17 17:17:28 +01:00
2022-11-29 15:15:27 +01:00
2022-08-01 11:59:46 +02:00
2022-05-27 19:33:35 +02:00
2023-01-12 17:09:34 +01:00
2022-12-22 13:46:21 +01:00
2023-02-03 18:00:20 +01:00
2022-07-25 16:11:11 +02:00
2023-02-03 18:00:20 +01:00
2023-01-16 14:00:50 +01:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2023-01-17 16:35:20 +01:00
2023-02-03 18:00:20 +01:00
2023-02-17 16:25:00 +01:00
2022-10-18 12:04:10 +02:00
2023-02-14 08:48:54 +01:00
2022-05-30 14:30:05 +02:00
2022-11-24 15:38:26 +01:00
2022-07-30 10:00:59 +02:00
2022-08-03 14:27:20 +02:00
2022-10-03 16:25:17 +02:00
2022-10-03 16:25:17 +02:00
2023-02-21 11:06:10 +01:00
2023-02-03 11:55:41 +01:00
2023-02-03 17:55:55 +01:00
2023-02-17 17:36:30 +01:00
2022-12-02 14:45:43 +01:00
2022-10-13 10:12:03 +02:00
2023-01-17 16:35:20 +01:00
2023-02-06 11:54:07 +01:00
2023-01-12 16:37:45 +01:00
2022-09-01 19:34:46 +02:00
2023-02-06 07:53:03 +01:00
2023-01-09 18:41:08 +01:00
2023-01-27 15:18:59 +01:00
2023-02-08 14:48:21 +01:00
2023-02-09 18:04:10 +01:00
2022-09-09 11:15:22 +02:00
2023-01-26 15:49:32 +01:00
2022-11-14 11:14:02 +01:00
2023-01-11 11:27:20 +01:00
2023-01-11 11:27:20 +01:00
2022-07-25 16:11:11 +02:00
2023-02-13 09:43:38 +01:00
2023-02-16 16:03:45 +01:00
2023-02-08 11:40:31 +01:00
2022-11-18 15:24:23 +01:00
2023-02-03 17:55:55 +01:00
2022-12-21 11:21:07 +01:00
2023-02-10 16:53:35 +01:00
2023-02-17 10:16:25 +01:00
2023-02-08 08:55:02 +01:00
2023-02-17 10:17:02 +01:00
2023-02-17 16:01:34 +01:00
2022-11-19 04:53:47 +01:00
2023-01-09 18:41:08 +01:00
2022-09-03 06:11:08 +02:00
2022-11-14 11:14:02 +01:00
2023-02-06 18:01:50 +01:00
2023-01-16 14:00:51 +01:00
2023-01-26 15:49:43 +01:00
2022-11-14 11:14:02 +01:00
2023-02-17 16:01:34 +01:00
2022-06-23 11:49:09 +02:00
2023-02-20 11:20:18 +01:00