Peter Oskolkov
c92c81df93
net: dccp: fix kernel crash on module load
...
Patch eedbbb0d98 "net: dccp: initialize (addr,port) ..."
added calling to inet_hashinfo2_init() from dccp_init().
However, inet_hashinfo2_init() is marked as __init(), and
thus the kernel panics when dccp is loaded as module. Removing
__init() tag from inet_hashinfo2_init() is not feasible because
it calls into __init functions in mm.
This patch adds inet_hashinfo2_init_mod() function that can
be called after the init phase is done; changes dccp_init() to
call the new function; un-marks inet_hashinfo2_init() as
exported.
Fixes: eedbbb0d98 ("net: dccp: initialize (addr,port) ...")
Reported-by: kernel test robot <lkp@intel.com >
Signed-off-by: Peter Oskolkov <posk@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-12-24 15:27:56 -08:00
..
2018-09-08 01:39:47 +09:00
2018-10-14 10:25:47 +02:00
2018-09-26 09:56:07 -07:00
2018-12-20 18:20:26 -08:00
2018-12-20 18:20:26 -08:00
2018-09-18 19:55:01 -07:00
2018-12-09 21:43:31 -08:00
2018-07-20 21:17:12 -07:00
2018-12-10 15:54:34 -08:00
2018-11-02 23:54:56 -07:00
2018-07-13 12:18:18 -04:00
2018-11-15 11:35:40 -08:00
2018-10-31 12:37:12 -07:00
2018-08-07 12:39:13 -07:00
2018-08-04 13:23:15 -07:00
2018-09-26 20:22:19 -07:00
2018-07-30 09:10:25 -07:00
2018-12-18 13:15:04 +01:00
2018-07-27 13:17:50 -07:00
2018-12-03 13:55:43 -08:00
2018-12-16 14:23:33 -08:00
2018-10-17 21:51:13 -07:00
2018-11-30 13:21:52 -08:00
2018-11-30 17:12:39 -08:00
2018-11-17 21:37:29 -08:00
2018-08-29 19:42:52 -07:00
2018-11-07 23:00:23 -08:00
2018-12-10 15:53:04 -08:00
2018-11-08 17:13:08 -08:00
2018-09-05 10:08:25 +02:00
2018-11-02 23:54:56 -07:00
2018-11-07 16:12:38 -08:00
2018-12-15 13:23:02 -08:00
2018-08-14 10:04:36 -07:00
2018-10-17 17:45:07 -07:00
2018-08-11 17:54:18 -07:00
2018-12-24 15:27:56 -08:00
2018-11-07 16:12:38 -08:00
2018-06-05 10:45:24 -04:00
2018-10-19 11:03:06 -07:00
2018-10-16 00:13:12 -07:00
2018-11-08 17:13:08 -08:00
2018-10-24 14:06:25 -07:00
2018-12-20 11:53:36 -08:00
2018-07-18 11:26:40 +02:00
2018-11-07 16:23:05 -08:00
2018-07-18 11:26:53 +02:00
2018-11-07 16:23:05 -08:00
2018-12-03 14:15:26 -08:00
2018-07-11 23:10:19 -07:00
2018-09-13 09:04:58 -07:00
2018-12-18 14:18:49 +01:00
2018-12-19 13:37:34 -08:00
2018-09-14 12:04:33 -07:00
2018-08-01 09:52:30 -07:00
2018-10-12 11:00:22 -07:00
2018-12-14 15:32:19 -08:00
2018-09-25 20:17:35 -07:00
2018-11-08 17:13:08 -08:00
2018-11-07 16:12:39 -08:00
2018-08-28 11:11:47 +02:00
2018-09-26 20:30:55 -07:00
2018-11-06 15:00:45 -08:00
2018-11-11 09:54:52 -08:00
2018-07-21 10:43:12 -05:00
2018-06-22 13:43:27 +09:00
2018-07-31 09:22:48 +02:00
2018-12-20 16:56:04 -08:00
2018-06-30 20:42:25 +09:00
2018-08-11 01:58:46 +02:00
2018-12-20 11:53:36 -08:00
2018-06-06 14:07:53 -04:00
2018-12-12 16:34:22 -08:00
2018-12-04 21:21:18 -08:00
2018-12-20 17:31:36 -08:00
2018-07-07 10:58:49 +09:00
2018-12-03 14:15:26 -08:00
2018-11-08 17:13:08 -08:00
2018-12-07 12:59:08 -08:00
2018-10-05 09:31:01 +02:00
2018-08-29 12:25:53 -07:00
2018-12-20 11:53:36 -08:00