inet: frags: refactor ipfrag_init()
authorEric Dumazet <edumazet@google.com>
Wed, 10 Oct 2018 19:29:51 +0000 (12:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:13:23 +0000 (09:13 +0200)
commitbbf6d8604475f36279c7b2d9a1f425654bc24588
tree45dea2a9dde631214322e05273ad8ab74fe074cc
parent2ffb1c363dfa89858dded0b291f005faf1b72adc
inet: frags: refactor ipfrag_init()

We need to call inet_frags_init() before register_pernet_subsys(),
as a prereq for following patch ("inet: frags: use rhashtables for reassembly units")

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 483a6e4fa055123142d8956866fe2aa9c98d546d)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ip_fragment.c