hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/ipv6/proc.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
....@@ -9,11 +10,6 @@
910 *
1011 * Authors: David S. Miller (davem@caip.rutgers.edu)
1112 * 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.
1713 */
1814 #include <linux/socket.h>
1915 #include <linux/net.h>
....@@ -48,8 +44,8 @@
4844 seq_printf(seq, "RAW6: inuse %d\n",
4945 sock_prot_inuse_get(net, &rawv6_prot));
5046 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));
5349 return 0;
5450 }
5551