.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
---|
3 | 4 | * operating system. INET is implemented using the BSD Socket |
---|
.. | .. |
---|
9 | 10 | * |
---|
10 | 11 | * Authors: David S. Miller (davem@caip.rutgers.edu) |
---|
11 | 12 | * YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> |
---|
12 | | - * |
---|
13 | | - * This program is free software; you can redistribute it and/or |
---|
14 | | - * modify it under the terms of the GNU General Public License |
---|
15 | | - * as published by the Free Software Foundation; either version |
---|
16 | | - * 2 of the License, or (at your option) any later version. |
---|
17 | 13 | */ |
---|
18 | 14 | #include <linux/socket.h> |
---|
19 | 15 | #include <linux/net.h> |
---|
.. | .. |
---|
48 | 44 | seq_printf(seq, "RAW6: inuse %d\n", |
---|
49 | 45 | sock_prot_inuse_get(net, &rawv6_prot)); |
---|
50 | 46 | seq_printf(seq, "FRAG6: inuse %u memory %lu\n", |
---|
51 | | - atomic_read(&net->ipv6.frags.rhashtable.nelems), |
---|
52 | | - frag_mem_limit(&net->ipv6.frags)); |
---|
| 47 | + atomic_read(&net->ipv6.fqdir->rhashtable.nelems), |
---|
| 48 | + frag_mem_limit(net->ipv6.fqdir)); |
---|
53 | 49 | return 0; |
---|
54 | 50 | } |
---|
55 | 51 | |
---|