Willy Tarreau
fb9a4765b7
BUG/MINOR: sink: make sure to always properly unmap a file-backed ring
...
The munmap() call performed on exit was incorrect since it used to apply
to the buffer instead of the area, so neither the pointer nor the size
were page-aligned. This patches corrects this and also adds a call to
msync() since munmap() alone doesn't guarantee that data will be dumped.
This should be backported to 2.6.
2023-01-24 12:11:41 +01:00
..
2022-11-14 11:14:02 +01:00
2022-04-25 15:28:21 +02:00
2023-01-09 18:41:08 +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-01-09 18:41:08 +01:00
2022-04-19 08:23:30 +02:00
2022-06-23 11:49:09 +02:00
2023-01-17 16:35:20 +01:00
2022-11-22 16:27:52 +01:00
2022-12-02 14:45:43 +01:00
2023-01-02 09:51:35 +01:00
2022-04-26 10:59:48 +02:00
2022-04-26 10:59:48 +02:00
2023-01-06 18:08:49 +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-01-09 18:41:08 +01:00
2022-11-14 19:14:53 +01:00
2022-04-25 19:42:43 +02:00
2022-10-03 12:06:36 +02: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
2022-05-16 16:00:26 +02:00
2022-12-09 12:23:14 +01:00
2023-01-19 19:22:17 +01:00
2022-04-13 15:10:16 +02:00
2023-01-19 16:15:12 +01:00
2022-11-14 11:14:02 +01:00
2023-01-09 18:41:08 +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
2022-11-22 17:49:10 +01:00
2022-12-14 11:34:18 +01:00
2022-05-30 09:59:26 +02:00
2023-01-19 16:31:12 +01:00
2023-01-19 19:22:17 +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-01-20 00:02:37 +01:00
2022-09-20 07:41:58 +02:00
2022-04-12 08:30:08 +02:00
2022-09-20 15:35:29 +02:00
2023-01-06 16:42:24 +01:00
2023-01-13 15:21:08 +01:00
2022-12-22 15:39:31 +01:00
2022-04-08 10:12:59 +02:00
2023-01-13 11:51:11 +01:00
2023-01-09 05:28:03 +01:00
2022-04-25 19:26:26 +02:00
2022-12-14 11:34:18 +01:00
2022-02-28 17:16:55 +01:00
2022-04-22 15:45:47 +02:00
2023-01-20 10:27:37 +01:00
2023-01-19 19:22:17 +01:00
2023-01-09 18:41:08 +01:00
2022-04-12 08:19:33 +02:00
2022-06-08 15:28:38 +02:00
2023-01-09 18:41:08 +01:00
2022-03-22 09:25:52 +01:00
2023-01-18 07:53:05 +01:00
2022-12-19 11:01:26 +01:00
2023-01-20 00:02:21 +01:00
2022-11-17 14:33:15 +01:00
2023-01-17 16:25:29 +01:00
2022-01-28 19:04:02 +01:00
2023-01-09 18:41:08 +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
2022-12-21 09:27:26 +01:00
2022-07-25 16:11:11 +02:00
2023-01-16 14:00:50 +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-01-19 19:22:17 +01:00
2022-09-20 15:35:33 +02:00
2022-10-18 12:04:10 +02:00
2022-08-17 11:04:53 +02: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-01-20 15:49:52 +01:00
2022-10-03 16:25:17 +02:00
2022-10-13 10:12:03 +02:00
2023-01-20 17:06:04 +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-01-17 16:35:20 +01:00
2023-01-12 16:37:45 +01:00
2022-09-01 19:34:46 +02:00
2023-01-11 10:31:42 +01:00
2023-01-09 18:41:08 +01:00
2023-01-17 16:35:20 +01:00
2022-01-28 19:04:02 +01:00
2022-12-07 17:03:55 +01:00
2023-01-06 18:08:49 +01:00
2022-09-09 11:15:22 +02:00
2023-01-24 12:11:41 +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-01-09 18:41:08 +01:00
2023-01-12 13:13:45 +01:00
2023-01-12 13:13:45 +01:00
2022-11-18 15:24:23 +01:00
2023-01-09 18:41:08 +01:00
2022-12-21 11:21:07 +01:00
2023-01-12 16:37:45 +01:00
2023-01-09 18:41:08 +01:00
2023-01-09 18:41:08 +01:00
2023-01-09 18:41:08 +01:00
2022-11-22 10:24:07 +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-01-19 19:22:17 +01:00
2023-01-16 14:00:51 +01:00
2022-11-16 17:55:53 +01:00
2022-11-14 11:14:02 +01:00
2022-07-01 19:26:35 +02:00
2022-06-23 11:49:09 +02:00
2022-10-26 18:18:26 +02:00