diff options
author | Eric Dumazet <edumazet@google.com> | 2019-05-24 09:03:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-26 14:08:05 -0700 |
commit | 9cce45f22ceedf639cbb5fb5dfe612a278d36b58 (patch) | |
tree | b9f3fddc97b7a63477495f384c62cb996e6754f2 /net/ipv4/ip_fragment.c | |
parent | d2dfd43598f3ce5441daabc7b352cdfea811e021 (diff) | |
download | linux-9cce45f22ceedf639cbb5fb5dfe612a278d36b58.tar.gz linux-9cce45f22ceedf639cbb5fb5dfe612a278d36b58.tar.bz2 linux-9cce45f22ceedf639cbb5fb5dfe612a278d36b58.zip |
net: rename inet_frags_init_net() to fdir_init()
And pass an extra parameter, since we will soon
dynamically allocate fqdir structures.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
-rw-r--r-- | net/ipv4/ip_fragment.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c index fb035f4f36ca..d95592d52981 100644 --- a/net/ipv4/ip_fragment.c +++ b/net/ipv4/ip_fragment.c @@ -672,9 +672,8 @@ static int __net_init ipv4_frags_init_net(struct net *net) net->ipv4.fqdir.timeout = IP_FRAG_TIME; net->ipv4.fqdir.max_dist = 64; - net->ipv4.fqdir.f = &ip4_frags; - res = inet_frags_init_net(&net->ipv4.fqdir); + res = fqdir_init(&net->ipv4.fqdir, &ip4_frags); if (res < 0) return res; res = ip4_frags_ns_ctl_register(net); |