Files
linux-st/include/net
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-09-18 19:55:01 -07:00
2018-12-10 15:54:34 -08:00
2018-11-15 11:35:40 -08:00
2018-10-31 12:37:12 -07:00
2018-09-26 20:22:19 -07:00
2018-11-07 23:00:23 -08:00
2018-11-07 16:23:05 -08:00
2018-09-13 09:04:58 -07:00
2018-09-25 20:17:35 -07:00
2018-12-20 16:56:04 -08:00
2018-12-07 12:59:08 -08:00
2018-08-29 12:25:53 -07:00