bz
3e0888e473
carpstats are the last virtualised variable in the file and end up at the
...
end of the vnet_set. The generated code uses an absolute relocation at
one byte beyond the end of the carpstats array. This means the relocation
for the vnet does not happen for carpstats initialisation and as a result
the kernel panics on module load.
This problem has only been observed with carp and only on i386.
We considered various possible solutions including using linker scripts
to add padding to all kernel modules for pcpu and vnet sections.
While the symbols (by chance) stay in the order of appearance in the file
adding an unused non-file-local variable at the end of the file will extend
the size of set_vnet and hence make the absolute relocation for carpstats
work (think of this as a single-module set_vnet padding).
This is a (tmporary) hack. It is the least intrusive one as we need a
timely solution for the upcoming release. We will revisit the problem in
HEAD. For a lot more information and the possible alternate solutions
please see the PR and the references therein.
PR: 230857
MFC after: 3 days
2018-11-01 17:26:18 +00:00
..
2018-07-24 16:35:52 +00:00
2017-11-27 15:23:17 +00:00
2018-07-11 14:54:56 +00:00
2018-10-29 21:16:26 +00:00
2018-09-12 10:27:58 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-10-30 20:08:48 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2017-11-20 19:43:44 +00:00
2018-05-02 19:36:29 +00:00
2018-07-24 16:35:52 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2018-05-24 23:21:23 +00:00
2018-06-16 08:26:23 +00:00
2017-02-28 23:42:47 +00:00
2018-10-23 13:11:45 +00:00
2018-04-06 17:35:35 +00:00
2018-09-06 14:15:03 +00:00
2018-08-22 21:23:32 +00:00
2018-10-27 04:53:25 +00:00
2018-11-01 15:52:49 +00:00
2018-10-01 10:46:00 +00:00
2018-06-13 23:19:54 +00:00
2018-04-06 17:35:35 +00:00
2018-05-29 12:32:08 +00:00
2017-11-20 19:43:44 +00:00
2018-05-23 21:02:14 +00:00
2018-10-21 15:02:06 +00:00
2017-11-20 19:43:44 +00:00
2018-07-01 08:37:07 +00:00
2018-11-01 17:26:18 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2018-10-21 18:39:34 +00:00
2018-10-21 17:55:26 +00:00
2018-09-05 13:59:36 +00:00
2018-10-21 15:10:59 +00:00
2018-10-23 13:11:45 +00:00
2018-10-21 21:29:19 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2018-10-27 04:59:35 +00:00
2018-07-24 16:35:52 +00:00
2017-11-20 19:43:44 +00:00
2018-10-09 13:26:06 +00:00
2017-11-20 19:43:44 +00:00
2018-10-07 11:26:15 +00:00
2018-08-14 17:30:46 +00:00
2018-05-20 00:22:28 +00:00
2018-07-01 08:37:07 +00:00
2018-06-05 20:51:01 +00:00
2017-11-20 19:43:44 +00:00
2018-07-10 08:05:32 +00:00
2018-09-30 21:54:02 +00:00
2018-07-19 20:16:33 +00:00
2018-10-01 14:05:31 +00:00
2018-09-18 10:53:07 +00:00
2018-07-19 20:16:33 +00:00
2018-07-19 20:11:14 +00:00
2018-07-19 20:16:33 +00:00
2018-08-21 13:25:32 +00:00
2018-07-19 20:11:14 +00:00
2017-12-26 12:35:02 +00:00
2017-11-20 19:43:44 +00:00
2018-08-22 21:23:32 +00:00
2018-07-19 20:16:33 +00:00
2018-08-21 13:25:32 +00:00
2018-07-19 20:16:33 +00:00
2018-10-01 14:05:31 +00:00
2018-07-19 20:16:33 +00:00
2017-11-20 19:43:44 +00:00
2018-08-23 19:10:45 +00:00
2017-11-20 19:43:44 +00:00
2018-10-07 15:13:47 +00:00
2018-07-19 20:16:33 +00:00
2018-08-21 13:25:32 +00:00
2018-07-19 20:16:33 +00:00
2018-08-13 13:58:45 +00:00
2017-11-20 19:43:44 +00:00
2018-07-19 20:11:14 +00:00
2018-07-19 20:16:33 +00:00
2018-05-19 05:56:21 +00:00
2018-07-19 20:11:14 +00:00
2018-10-26 21:04:17 +00:00
2018-08-21 13:25:32 +00:00
2017-11-20 19:43:44 +00:00
2018-07-19 20:16:33 +00:00
2018-08-21 13:25:32 +00:00
2018-07-19 20:16:33 +00:00
2018-07-19 20:16:33 +00:00
2018-09-26 10:24:50 +00:00
2018-08-21 13:25:32 +00:00
2018-10-01 10:46:00 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2018-02-26 03:03:41 +00:00
2018-06-23 06:53:53 +00:00
2018-07-24 16:35:52 +00:00
2017-11-27 15:23:17 +00:00
2018-10-01 10:46:00 +00:00
2018-07-04 02:47:16 +00:00
2018-10-18 19:21:18 +00:00
2018-04-10 15:51:37 +00:00
2018-08-20 12:43:18 +00:00
2018-03-09 00:08:43 +00:00
2017-11-27 15:23:17 +00:00
2018-06-23 06:53:53 +00:00
2018-04-03 01:08:54 +00:00
2018-10-22 21:17:36 +00:00
2018-10-16 14:41:09 +00:00
2017-11-20 19:43:44 +00:00
2018-04-03 13:54:38 +00:00
2018-08-23 19:10:45 +00:00
2018-11-01 11:41:40 +00:00
2018-10-18 19:21:18 +00:00
2018-07-04 02:47:16 +00:00
2018-07-04 02:47:16 +00:00
2018-07-30 21:13:42 +00:00
2018-08-24 10:50:19 +00:00
2018-08-20 12:43:18 +00:00
2018-06-07 18:18:13 +00:00
2017-11-20 19:43:44 +00:00
2018-08-16 23:46:38 +00:00
2018-04-03 01:08:54 +00:00
2018-10-12 22:51:45 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2018-07-31 22:56:03 +00:00