]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: call inet_add_protocol after register_pernet_subsys in dccp_v6_init
authorXin Long <lucien.xin@gmail.com>
Tue, 20 Jun 2017 07:44:44 +0000 (15:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 19:31:43 +0000 (15:31 -0400)
commit248373cd41675188e614b7ef0a4c67d20be90d6a
tree7c40804934e3fdb025ed2d76c47dfff99ca49384
parent22b857f40842f3df0bdbb13adb5a7bab805a4e6f
dccp: call inet_add_protocol after register_pernet_subsys in dccp_v6_init

Patch "call inet_add_protocol after register_pernet_subsys in dccp_v4_init"
fixed a null pointer dereference issue for dccp_ipv4 module.

The same fix is needed for dccp_ipv6 module.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c