summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-05-24 18:03:37 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-26 23:08:05 +0200
commit9cce45f22ceedf639cbb5fb5dfe612a278d36b58 (patch)
treeb9f3fddc97b7a63477495f384c62cb996e6754f2 /net/ieee802154
parentieee820154: 6lowpan: no longer reference init_net in lowpan_frags_ns_ctl_table (diff)
downloadlinux-9cce45f22ceedf639cbb5fb5dfe612a278d36b58.tar.xz
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/ieee802154')
-rw-r--r--net/ieee802154/6lowpan/reassembly.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ieee802154/6lowpan/reassembly.c b/net/ieee802154/6lowpan/reassembly.c
index 4bbd6999c58f..82db76ce0e61 100644
--- a/net/ieee802154/6lowpan/reassembly.c
+++ b/net/ieee802154/6lowpan/reassembly.c
@@ -452,9 +452,8 @@ static int __net_init lowpan_frags_init_net(struct net *net)
ieee802154_lowpan->fqdir.high_thresh = IPV6_FRAG_HIGH_THRESH;
ieee802154_lowpan->fqdir.low_thresh = IPV6_FRAG_LOW_THRESH;
ieee802154_lowpan->fqdir.timeout = IPV6_FRAG_TIMEOUT;
- ieee802154_lowpan->fqdir.f = &lowpan_frags;
- res = inet_frags_init_net(&ieee802154_lowpan->fqdir);
+ res = fqdir_init(&ieee802154_lowpan->fqdir, &lowpan_frags);
if (res < 0)
return res;
res = lowpan_frags_ns_sysctl_register(net);